...
Code Block | ||
---|---|---|
| ||
${wmfn:filterHTMLBasic(myHtmlToFilter)} |
...
filterHTMLRelaxed
wmfn:filterHTMLRelaxed
- Filters the HTML using a relaxed filtering configuration. It allows the following range of text and structural body HTML: <a>, <b>, <blockquote>, <br>, <caption>, <cite>, <code>, <col>, <colgroup>, <dd>, <div>, <dl>, <dt>, <em>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <i>, <img>, <li>, <ol>, <p>, <pre>, <q>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, <table>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>, <u>, <ul>
and <l>
. Example usage:
...
Code Block | ||
---|---|---|
| ||
${wmfn:filterHTMLRelaxed(myHtmlToFilter)} |
...
filterHTMLTags
wmfn:filterHTMLTags
- Filters the HTML. Passed tags are allowed, other tags are removed from the HTML. Example usage:
...
Code Block | ||
---|---|---|
| ||
<wm:presentationProperty var="tableTagFilter" label="tableTagFilter" /> <c:set var="cellValue" value="${wmfn:filterHTMLTags(tableCell.content, tableTagFilter)}" /> |
...
filterHTMLTagsAndAttributes
...