Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mickleroy/c4b42dd1bcad001c8f1d1fead5fbfa04 to your computer and use it in GitHub Desktop.
Save mickleroy/c4b42dd1bcad001c8f1d1fead5fbfa04 to your computer and use it in GitHub Desktop.
LinkCheckerTransformerFactory configuration for stripping HTML extension
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
linkcheckertransformer.strictExtensionCheck="{Boolean}false"
linkcheckertransformer.rewriteElements="[a:href,area:href,form:action]"
linkcheckertransformer.disableRewriting="{Boolean}false"
linkcheckertransformer.disableChecking="{Boolean}false"
linkcheckertransformer.stripHtmltExtension="{Boolean}true"
linkcheckertransformer.mapCacheSize="{Long}5000"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment