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

Nested inline macros generate invalid HTML

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-2
    • Fix Version/s: 5.0-rc-1
    • Component/s: Syntax - xwiki/2.1
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: