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

Nested inline macros generate invalid HTML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0-rc-1
    • 5.0-milestone-2
    • Syntax - xwiki/2.1
    • None
    • Unit
    • N/A
    • N/A

    Description

      XWiki 2.1 input:

      before {{info}}{{translation key="foo"/}}{{/info}} after
      

      XHTML 1.0 output:

      <p>before <span class="box infomessage"><p>foo</p></span> after</p>
      

      Notice the nested paragraphs.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: