Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML in string literal in examples of Scaladoc does not properly escaped #11424

Open
Atry opened this Issue Mar 7, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@Atry
Copy link

Atry commented Mar 7, 2019

/** Some scaladoc that contains string literal of HTML
  * {{{
  * val button = "<button>My Button</button>" 
  * }}}
  */
class HtmlDoc
$ scaladoc -version
Scaladoc version 2.12.8 -- Copyright 2002-2018, LAMP/EPFL and Lightbend, Inc.
$ scaladoc HtmlDoc.scala 
model contains 2 documentable templates

2019-03-08 00 07 06

@OberstK

This comment has been minimized.

Copy link

OberstK commented Mar 13, 2019

I had a look into this and could trace down why this is happening. I will open a PR for a fix, but there is some need for discussion if I missed inter-dependencies with other behavior around the rendering of code within a comment. I hope someone else can bring in more insight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.