Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-35940

Image title text and alt text containing special characters is lost

    XMLWordPrintable

Details

    Description

      Summary

      If the title text contains a special character (e.g. ?, : , ...), the title text and "alt text" are lost when the page is saved. For example: "Does this work" will persist, but "Does this work?" results in the entire string being lost.

      Steps to Reproduce

      1. Insert an image in the editor
      2. On the property panel, click "properties"
      3. Add some "title text" and "alt text" for the image that contains special character (e.g. ?,:...) and save the page
      4. Hover over the image in view mode (or inspect the markup to check the value of the title attribute)

      Expected Results

      The inserted text should be visible.

      Actual Results

      The text is not visible and the text is lost in the image proprieties

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              etom edith (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: