<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-3.png
          screenshot-3.png
          202 kB
        2. Screen Shot 2017-01-11 at 10.16.04 AM.png
          Screen Shot 2017-01-11 at 10.16.04 AM.png
          55 kB
        3. Screen Shot 2017-01-11 at 10.07.50 AM.png
          Screen Shot 2017-01-11 at 10.07.50 AM.png
          122 kB
        4. screenshot-2.png
          screenshot-2.png
          181 kB
        5. screenshot-1.png
          screenshot-1.png
          207 kB
        6. screen_3.png
          screen_3.png
          92 kB
        7. screen_2.png
          screen_2.png
          83 kB
        8. screen_1.png
          screen_1.png
          154 kB

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

              Created:
              Updated:
              Resolved: