Unable to create an inline comment when the code block macro title contains the same text

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 9.3.1, 9.5.0, 10.0.1, 9.2.15, 10.2.7
    • None
    • Severity 3 - Minor

      Issue Summary

      On adding an internal comment to a text/word on a page if it is same as the title of a code block macro results in following error:

      We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text.

       

      Steps to Reproduce

      1. In Edit mode, add an Code Block macro to the page.
      1. Insert text in the Code block's title.
      1. Add the same text anywhere on the page.
      1. Save the page
      1. Highlight the text and click on comment icon.
      1. Add a comment and Save.

      Expected Results

      Comment should be added without any issue

      Actual Results

      The below warning/prompt is seen:

      We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text. 

      Workaround

      Currently there is no known workaround for this behaviour. 

              Assignee:
              Unassigned
              Reporter:
              N M Adil Naveen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: