Pages with 0-width spaces present breaking the version comparison logic

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      Page content where 0-width spaces is present breaks the comparison logic

      This is reproducible on Data Center: NA

      Steps to Reproduce

      Please note : Steps to reproduce in UI is still unclear because Confluence does not support 0-width space from UI but during investigation of version compare, this can be reproduced using update API i.e

      PUT /rest/api/content/<contentId>
      

      1. Pick the version where you see logic is broken.
      2. Get the storage format of the two versions

      rest/api/content/<contentId>?expand=body.storage&version=number
      

      3. compare the two version storage format ( you can use visual code)
      4. You should see the space appended in successor version

      Expected Results

      The version compare should work as usual

      Actual Results

      It breaks the version compare logic

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Trupti Das
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: