HTML tags showing in report

  • I found a solution for this problem. Call this javascript function from the body onload event:

    function HtmlReplace(){

    var divs=document.getElementsByTagName("DIV");

    for(var i=0;i<divs.length;i++){

    divs.innerHTML=unescapeHTML(divs.innerHTML);

    }

    }

    function unescapeHTML(s) {

    return s.replace(/&/g,'&').replace(/</g,' ');

    }

Viewing post 1 (of 2 total)

You must be logged in to reply to this topic. Login to reply