Skip to content

Commit

Permalink
Merge pull request #13118 from KacperFKorban/scaladoc/fix-manifest-sc…
Browse files Browse the repository at this point in the history
…aladoc-site

Escape illegal characters in scaladoc code blocks
  • Loading branch information
KacperFKorban authored Jul 21, 2021
2 parents c8894a0 + ca7ccab commit ec15557
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DocRender(signatureRenderer: SignatureRenderer)(using DocContext):
case 5 => h5(content)
case 6 => h6(content)
case Paragraph(text) => p(renderElement(text))
case Code(data: String) => pre(code(raw(data))) // TODO add classes
case Code(data: String) => pre(code(raw(data.escapeReservedTokens))) // TODO add classes
case HorizontalRule => hr

case UnorderedList(items) => ul(listItems(items))
Expand Down

0 comments on commit ec15557

Please sign in to comment.