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

Add a Syntax Registry

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 11.10
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: