2.2.2.4. OSHtml Sanitizer Processor

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

The plugin renders valid HTML tags appearing in the Activity body (content).

Sample configuration:


<component>
  <key>org.exoplatform.social.core.manager.ActivityManager</key>
  <type>org.exoplatform.social.core.manager.ActivityManagerImpl</type>
  <component-plugins>
    <component-plugin>
      <name>OSHtmlSanitizer</name>
      <set-method>addProcessorPlugin</set-method>
      <type>org.exoplatform.social.core.processor.OSHtmlSanitizerProcessor</type>
    </component-plugin>
  </component-plugins>
</component>

In which:

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus