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

Add $services.rendering.escape method for escaping XWiki syntax

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0-rc-1
    • Fix Version/s: 7.1-milestone-1
    • Component/s: Rendering
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Over the years, we felt more and more the need for a way to escape XWiki syntax.

      The proposed escaping method simply appends an ~ escape character in front of every character of the input string.

      In practice, it seems to perform pretty well.

      This is most useful when dealing with wiki="true" HTML macros.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: