Legacy Page Conversion: Check for <br></p> tags to avoid double line breaks

XMLWordPrintable

    • 10
    • Severity 3 - Minor
    • 81

      Blank Line Appears between Numbered Steps:

      When converting a Legacy Page some old elements may be removed while others are not, after conversion Paragraph or <p></p> tags are wrapped around text which causes a line break. However, in instances where a <br> tag is present, this can have the undesired effect of adding an extra line break when next to a </p>.

      This is a request entails checking for potentially erroneous <br> tags that would cause 2 lines instead of the 1 line in the original legacy page, and give the user the option to preview/convert the page with these stripped/removed from the legacy page where new <p></p> tags would get placed.

      Original Storage Format:

      <ol>
      <li>This is some text</li>
      <li><strong>This is some text<br /></strong><span><span>this is some text<br /></span></span></li>
      <li>This is some text</li>
      <li>This is some text</li></ol>
      

      Converted Storage Format:

      <ol start="1">
      <li>
      <p>This is some text</p></li>
      <li>
      <p><strong>This is some text</strong><br />this is some text<br /></p></li>
      <li>
      <p>This is some text</p></li>
      <li>
      <p>This is some text</p></li></ol>
      



            Assignee:
            Howard Ng
            Reporter:
            Johnny E [Atlassian Support] (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: