Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEclipse
${wmfn:filterHTMLBasic(myHtmlToFilter)}

 

Back to Top

 

...

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
themeEclipse
${wmfn:filterHTMLRelaxed(myHtmlToFilter)}

 

Back to Top

 

...

filterHTMLTags

wmfn:filterHTMLTags -  Filters the HTML. Passed tags are allowed, other tags are removed from the HTML. Example usage:

...

Code Block
themeEclipse
<wm:presentationProperty var="tableTagFilter" label="tableTagFilter" />

<c:set var="cellValue" value="${wmfn:filterHTMLTags(tableCell.content, tableTagFilter)}" /> 


Back to Top

 

...

filterHTMLTagsAndAttributes

...