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

Make CleaningFilter (HTMLFilter) interface in xwiki-xml module reusable in other components

    XMLWordPrintable

Details

    Description

      CleaningFilter interface in xwiki-core-xml module can be reused in other components like officeimporter. But there are several changes to be done in order to accommodate this:

      • Change CleaningFilter interface to HTMLFilter (name makes more sense)
      • Change the filter(Document doc) method signature in CleaningFilter to filter(Document document, Map<String, String> cleaningParams) so that additional parameters to filters can be passed.
      • Make other necessary refactorings required

      Attachments

        Activity

          People

            asiri Asiri Rathnayake
            asiri Asiri Rathnayake
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: