Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-591

Add a Syntax Registry

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 11.10
    • API
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Goal: Remove the static hard-coded registration of Syntaxes from rendering-api and move the syntax registration in each syntax module or in extensions.

      Need example: The MD extension cannot change the pretty name of the markdown/1.2 syntax ATM since the Rendering CTS is using Syntax.valueOf() to convert the markdown/1.2 syntax id into a Syntax object and while doing so the pretty name is lost and thus the MD extension tests are failing.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: