Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4294

xhtml renderer wrong escape reference in the startlink html comment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0 RC1
    • 1.9.3, 2.0 M4
    • {Unused} Rendering 2.0
    • None
    • Unit
    • Unknown

    Description

      When the reference is

      refe~|~|rence
      

      the generated html comment is

      <!--startwikilink:refe~|~|rence-->
      

      Which is wrong because:

      • it's not needed since the reference is alone and not in the link context
      • the WYSIWYG has no idea what is the syntax and therefor is unable to unescape it

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: