val tylan = TylanAlphabet.tylanToFontAlphabet(uncensored)
val recensored = TextParserState.censorText(tylan)
"<span class=\"lang-tylan\">$recensored</span>"
- } else content
+ } else if (tagParam != null)
+ "<span class=\"lang-${sanitizeLink(tagParam)}\">$content</span>"
+ else content
}
),
ALPHABET(
link(rel = "preconnect", href = "https://fonts.googleapis.com")
link(rel = "preconnect", href = "https://fonts.gstatic.com") { attributes["crossorigin"] = "anonymous" }
- link(rel = "stylesheet", href = "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Oxanium:wght@400;600;700;800&display=swap")
+ link(rel = "stylesheet", href = "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Gothic&family=Oxanium:wght@400;600;700;800&display=swap")
link(rel = "stylesheet", href = "/static/style.css")