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

The annotation highlighting is not displayed properly on a text containing non-breakable spaces

    Details

    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • Enable annotations
      • Create a page using the following content:
      Titularbischof von Antinoe und Förderer der katholischen Kirche in Südindien. 
      

      The rendered HTML content in the WYSIWYG using the developer tools from the browser:

      <p>Titularbischof von Antinoe und&nbsp;Förderer der katholischen Kirche in Südindien.</p>
      
      • Add an annotation for the first word "Titularbischof"
      • Add an annotation for "Antinoe und Förderer"

      Result:

      • the 2nd highlighting is not displayed:

      Expected result:

      • both highlights should be displayed

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                oana.tabaranu Elena-Oana Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: