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

XWikiDocument.isAdvancedContent() matches html tags inefficiently

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.1 M3
    • 1.1 M2
    • {Unused} Core
    • None
    • patch,isAdvancedContent, regex, html

    Description

      Detecting HTML content could be improved:

      instead of generating a list with all the html tags matched in the content and looking if the list is not empty,
      we should simply try to find a match.

      see attached patch.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: