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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.10-rc-1
    • 8.4
    • XML
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: