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

Make empty lines at beginning and end of content significant for XWiki Syntax 2.2

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Rendering in the platform
    • Syntax - xwiki/2.2
    • None
    • any
    • empty paragraph begin lost switch editor syntax21

    Description

      XHTML 1.0 input:

      <p></p><p>foo</p>
      

      or

      <div class="wikimodel-emptyline"></div><p>foo</p>
      

      XWiki 2.0 output:

      
      foo
      

      (one empty line before "foo")

      XHTML 1.0 output after going back:

      <p>foo</p>
      

      As you can see the first empty paragraph/line is lost.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: