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

Implement a new tag that disables syntax processing on its contents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 0.9.840
    • {Unused} Rendering 1.0
    • None

    Description

      The

      {pre}

      and {code} tags do not disable syntax processing on their contents.

      For example, the following C++ code sample results in a stack dump because Velocity processing is not disabled:

      {code}
      ...
      #include <stdio.h>
      ...
      {code}
      

      There has been some discussion on whether new tags should be created, to allow backwards compatibility. See this document for details:

      http://old.xwiki.org/xwiki/bin/view/Dev/SyntaxProcessingIssues

      Attachments

        Activity

          People

            vmassol Vincent Massol
            sschaub Stephen Schaub
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: