Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1293

Body Filter fails to wrap in paragraph when there are tailing new lines

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4
    • Fix Version/s: 9.10-rc-1
    • Component/s: XML
    • Labels:
      None
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Example use case:

      {{html}}
      <iframe src="whatever"/>
      
      {{/html}}
      

      Compared to the following which wraps the html with P:

      {{html}}
      <iframe src="whatever"/>
      {{/html}}
      

      Note that this example is badly chosen since IFRAME doesn't require being wrapped inside a P in HTML5, see XCOMMONS-1292

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: