Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185161

doclet creates double-escaped entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • tools
    • None

      For JDK 9, see any <module>-frame.html file.

      Look at the following extract:

      <h1 title="Java SE 10 &amp;amp; JDK 10 DRAFT 10-internal+0-adhoc.jjg.jdk10.closed" class="bar"><div style="margin-top: 9px;"><strong>Java SE 10 &amp; JDK 10</strong> <br><strong>DRAFT 10-internal+0-adhoc.jjg.jdk10.closed</strong></div></h1>

      Notice the &amp;amp; in the value of the title attribute. Either the title string should be required to be a "plain text" string, and checked to be such, or else it should permit HTML and not be further escaped.

      Also note that <div> inside <h1> is illegal, so if we're going to allow HTML, we should ensure it is restricted to flow content.

            Unassigned Unassigned
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: