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

Link labels which are also standalone links are not correctly escaped

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      [http://www.xwiki.org>>http://www.xwiki.org]
      

      in syntax 1.0 is transformed in

      [[http://www.xwiki.org>>http://www.xwiki.org]]
      

      in syntax 2.0,
      which is rendered as invalid HTML (see XWIKI-3149) and causes problems on in the wysiwyg editor, for example, even if the browser recovers and displays that decently.

      The 2.0 syntax result should be:

      [[http:~~/~~/www.xwiki.org>>http://www.xwiki.org]]
      

      , to correctly escape the link label.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: