From 1f1870a1852558166cabfdfdcc4bc1437e37a45a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 20 Jul 2025 03:14:42 +0900 Subject: feat(blog/style): fix word-break style of links --- services/blog/nuldoc-src/djot/to_html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/blog/nuldoc-src/djot/to_html.ts') diff --git a/services/blog/nuldoc-src/djot/to_html.ts b/services/blog/nuldoc-src/djot/to_html.ts index c4939d5b..8219b747 100644 --- a/services/blog/nuldoc-src/djot/to_html.ts +++ b/services/blog/nuldoc-src/djot/to_html.ts @@ -115,7 +115,7 @@ function transformLinkLikeToAnchorElement(doc: Document) { } const [_, prefix, url, suffix] = match; nodes.push(text(prefix)); - nodes.push(elem("a", { href: url }, text(url))); + nodes.push(elem("a", { href: url, class: "url" }, text(url))); restContent = suffix; } return nodes; -- cgit v1.2.3-70-g09d2