<br> element in a blank space at the end of the line(Firefox)

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      If you add a simple line in the text editor with an blank space at the end of the line, Firefox will add a <br> element in the code source.

      Environment

      • Firefox(latest version)
      • Confluence

      Steps to Reproduce

      1. Edit a page.
      2. Insert the following text:
        Example 
        
        • There's a blank space at the end of the line
      3. Save the changes
      4. Select the entire line
      5. Inspect the element(view code source)

      Expected Results

      It will display the text source as:

      <p>Example <p>
      

      Actual Results

      <p>Example <br></p>
      

      Notes

      Google Chorme will display as:

      <p>Example&nbsp;</p>
      

      Workaround

      No Workaround

        1. screenshot-1.png
          207 kB
          Minh Tran
        2. screenshot-2.png
          181 kB
          Minh Tran
        3. screenshot-3.png
          202 kB
          Minh Tran
        4. screen_1.png
          154 kB
          Alexander Garanin
        5. screen_2.png
          83 kB
          Alexander Garanin
        6. screen_3.png
          92 kB
          Alexander Garanin
        7. Screen Shot 2017-01-11 at 10.16.04 AM.png
          55 kB
          Guilherme V.
        8. Screen Shot 2017-01-11 at 10.07.50 AM.png
          122 kB
          Guilherme V.

            Assignee:
            Unassigned
            Reporter:
            Guilherme V. (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: