<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerService.override">

  <require>org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerService</require>

  <documentation>

    The HTML Sanitizer Service sanitizes some HTML fields
    to remove potential cross-site scripting attack in them.

    @author Florent Guillaume
  

  </documentation>
  <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    <description>
      Listener that runs (very early) the HTML Sanitizer.
    </description>
    <listener async="false" class="org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerListener" name="htmlsanitizerlistener" postCommit="false" priority="-10">
    </listener>
  </extension>

</component>
