rice-framework/krad-web/src/main/webapp/krad/scripts/krad.utility.js
/**
 * Convert the text passed in from escapedHtml to html text.  Remove all anchor tags if flag is set to true.
 *
 * @param text the text with gt; and lt; and other escaped symbols that need to be translated
 * @param removeAnchors if true, do not include the anchor tags in the converted text
 * (but, still include their textual content)
 */
Convert the text passed in from escapedHtml to html text.  Remove all anchor tags if flag is set to true.

@param text the text with gt; and lt; and other escaped symbols that need to be translated
@param removeAnchors if true, do not include the anchor tags in the converted text
(but, still include their textual content)
Convert the text passed in from escapedHtml to html text . Remove all anchor tags if flag is set to true . @param text the text with gt ; and lt ; and other escaped symbols that need to be translated @param removeAnchors if true do not include the anchor tags in the converted text ( but still include their textual content )
function convertToHtml(text, removeAnchors) {
    if (removeAnchors) {
        text = text.replace(/&lt;a.+?&gt;/gi, "");
        text = text.replace(/&lt;\/a&gt;/gi, "");
    }
    return jQuery("<span />").html(text).text();
}
function convertToHtml ( text , removeAnchors ) { if ( removeAnchors ) { text = text . replace ( / &lt;a.+?&gt; / gi , "" ) ; text = text . replace ( / &lt;\/a&gt; / gi , "" ) ; } return jQuery ( "<span />" ) . html ( text ) . text ( ) ; }
Convert the text passed in from escapedHtml to html text.
Convert the text passed in from escapedHtml to html text .