diff --git a/Sources/Ink/Internal/CodeBlock.swift b/Sources/Ink/Internal/CodeBlock.swift index e2fdb2a..3362d83 100644 --- a/Sources/Ink/Internal/CodeBlock.swift +++ b/Sources/Ink/Internal/CodeBlock.swift @@ -50,7 +50,7 @@ internal struct CodeBlock: Fragment { func html(usingURLs urls: NamedURLCollection, modifiers: ModifierCollection) -> String { let languageClass = language.isEmpty ? "" : " class=\"language-\(language)\"" - return "
\(code)
" + return "
\(code.html(usingURLs: urls, modifiers: modifiers))
" } func plainText() -> String {