js/app.js
// Need two, one for FGC, another for FGU
Need two, one for FGC, another for FGU
Need two one for FGC another for FGU
function fixDesc(badString) {
    if(badString == "" || badString == null) {
        return "";
    }
    if (fgVersion == 0) {
        var tempString1 = badString.replace(/<a\s.*?\">/g, "").replace(/<\/a>/g, "").replace(/<\/span>/g, "").replace(/’/g, "'").replace(/—/g, "-");
    } else {
        var tempString1 = badString.replace(/<a\s.*?\">/g, "").replace(/<\/a>/g, "").replace(/<\/span>/g, "");
    }
    var tempString2 = tempString1.replace(/<img.*?">/g, "").replace(/<hr>/g, "<hr />").replace(/<span>/g, "");
    var tempString3 = tempString2.replace(/<br>/g, "<br />").replace(/&rsquo;/g, "'").replace(/&nbsp;/g, " ");
    var tempString4 = tempString3.replace(/&ldquo;/g, '"').replace(/<span\s.*?">/g, "").replace(/<em>/g, "").replace(/<\/em>/g, "")
    return tempString4.replace(/&rdquo;/g, '"').replace(/&mdash;/g, "-").replace(/&times;/g, "*").replace(/&minus;/g, "-").trim();
}
function fixDesc ( badString ) { if ( badString == "" || badString == null ) { return "" ; } if ( fgVersion == 0 ) { var tempString1 = badString . replace ( / <a\s.*?\"> / g , "" ) . replace ( / <\/a> / g , "" ) . replace ( / <\/span> / g , "" ) . replace ( / ’/g , " "). r e place(/ — / g,  " - " ; } else { var tempString1 = badString . replace ( / <a\s.*?\"> / g , "" ) . replace ( / <\/a> / g , "" ) . replace ( / <\/span> / g , "" ) ; } var tempString2 = tempString1 . replace ( / <img.*?"> / g , "" ) . replace ( / <hr> / g , "<hr />" ) . replace ( / <span> / g , "" ) ; var tempString3 = tempString2 . replace ( / <br> / g , "<br />" ) . replace ( / &rsquo; / g , "'" ) . replace ( / &nbsp; / g , " " ) ; var tempString4 = tempString3 . replace ( / &ldquo; / g , '"' ) . replace ( / <span\s.*?"> / g , "" ) . replace ( / <em> / g , "" ) . replace ( / <\/em> / g , "" ) return tempString4 . replace ( / &rdquo; / g , '"' ) . replace ( / &mdash; / g , "-" ) . replace ( / &times; / g , "*" ) . replace ( / &minus; / g , "-" ) . trim ( ) ; }
Need two, one for FGC, another for FGU
Need two one for FGC another for FGU
// FG Classic // FG Unity