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

Implement a new tag that disables syntax processing on its contents

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.9.840
    • Fix Version/s: None
    • Component/s: {Unused} Rendering 1.0
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: