@index tag with newline causes tag search to fail

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 14
    • Affects Version/s: 13
    • Component/s: tools
    • b16
    • generic
    • generic

      A {@index ...} tag where the search term contains a line break (as added in JDK-8230882) causes javadoc to create a tag name and URL anchor that contain line breaks. This causes tag-search-index.js and tag-search-index.json to contain invalid JavaScript/JSON, causing tag search to be unavailable.

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: