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

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

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 7.1-milestone-1
    • 7.0-rc-1
    • Rendering
    • None
    • Unknown

    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

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: