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

Determine if JavaDoc should treat \f (Form Feed) as newline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 18
    • tools
    • None

      This came up during review of snippets (JDK-8266666) because of the related changes to DocCommentParser.

      Should `\f` (FORM FEED) break a line? Relevant specifications have different opinions on this. For example:

      No: https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.4
      Yes: https://www.unicode.org/versions/Unicode13.0.0/ch05.pdf, "5.8 Newline Guidelines"
      No: https://html.spec.whatwg.org/multipage/syntax.html#newlines

            Unassigned Unassigned
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: