Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-168

Verbatim blocks should not output <pre> HTML elements when rendered

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3-rc-1
    • Fix Version/s: None
    • Labels:
      None
    • Similar issues:

      Description

      We define the verbatim block as a way to escape wiki markup so that it is not interpreted, so it's purely a syntactical element. The definition of the <pre> tag is a visual one, text that has already been formatted and should not be reflowed by the browser; thus, it has a semantical meaning that is not implied by the markup. Plus, it adds element when one isn't needed, simply because we just want not to interpret wiki markup in a piece of text.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                sdumitriu Sergiu Dumitriu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: