JBoss.orgCommunity Documentation

OSHtmlSanitizerProcessor

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: