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

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    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

        1. nohighlight.png
          125 kB
          Elena-Oana Florea

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: