Failed to reference headers with parentheses via update API #anchor-(test)

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 0

      Issue Summary

      Headers that are using parentheses are getting their anchor links broken when the page is updated through Rest API.

      Steps to Reproduce

      1. Create a Page
      2. insert a header that contains parentheses,
      3. Try to create an anchor link for it using the update API that contains the same parentheses that are displayed on the header created before,
      4. For Example:
      5. <a href="#anchor-(test)">
        

      Expected Results

      It should create an anchor link that points to the referenced header.

      Actual Results

      It generates a broken link and nothing happen when you click on it.

      Workaround

      replace the parentheses at the href= for their URL format that is %28 for open parentheses and %29 for close parentheses. like the example below:

      <a href="#anchor-%28test%29">
      

            Assignee:
            Unassigned
            Reporter:
            Eric Ribeiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: