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

Empty lines around stand-alone macros are badly converted

    Details

    • Similar issues:

      Description

      XHTML input:

      <h1>Foo</h1>
      <div class="wikimodel-emptyline"></div>
      <!--startmacro:toc|-|--><!--stopmacro-->
      <div class="wikimodel-emptyline"></div>
      <h2>Bar</h2>
      

      XWiki 2.1 actual output:

      = Foo =
      
      {{toc/}}
      
      
      
      == Bar ==
      

      Expected output:

      = Foo =
      
      
      {{toc/}}
      
      
      == Bar ==
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: