Uploaded image for project: 'URL Normalizer'
  1. URL Normalizer
  2. URLNORMALZ-23

Support all macro having wiki markup as their content

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.5
    • 1.4
    • None
    • None
    • Unit
    • Unknown

    Description

      Right now, we support a hardcoded subset of macros known to contain wiki markup, see: https://github.com/xwiki-contrib/application-urlnormalizer/blob/d322f12d8960e2271b45afcd5d90ce8da3dec05b/listener-urlnormalizer-api/src/main/java/org/xwiki/contrib/urlnormalizer/internal/MarkupContainingMacroBlockMatcher.java#L37

      XWiki 10.10RC1 has introduced the ability for macros to express that their content is wiki markup. Thus the code should be refactored to support this and thus support all well-developed macros (that correctly express their content type).

      For example, this would allow the Paragraph Numbering macro to be supported OOB.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: