Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3037

Clean BR elements outside of block elements in the HTML Cleaner

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 1.7
    • Rendering
    • None

    Description

      Example input:

          public void testBROutsideBlockElements()
          {
              assertHTML("xxx", "<p>hello</p><br/><br/><p>world</p>");
          }
      

      Haven't thought much about it but I think we should transform into DIVs with class of wikimodel-emptyline

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: