No mechanism currently.
You could also do this in CSS though.
If you wrapped all third party content in <div
class="third-party-content>...</div> then
<style>
.third_party_content br:before {
content: ' ';
white-space: normal;
}
.third_party_content table br:before {
content: "\A"; white-space: pre-line
}
</style>
might do it.
> --
> You received this message because you are subscribed to the Google Groups
> "OWASP Java HTML Sanitizer Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
owasp-java-html-saniti...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.