grooscript
grooscript copied to clipboard
Extra semicolons or missing them
Sometimes extra semicolons...
if (gs.equals(gSswitch0, "&")) { gSobject.htmCd += "&"; ; } else if (gs.equals(gSswitch0, "<")) { gSobject.htmCd += "<"; ; } else if (gs.equals(gSswitch0, ">")) { gSobject.htmCd += ">"; ; } else if (gs.equals(gSswitch0, "\"")) { gSobject.htmCd += """; ; } else if (gs.equals(gSswitch0, "'")) { gSobject.htmCd += "'"; ; } else { gSobject.htmCd += ch; ; };
Sometimes missing them...
gSobject['yieldUnescaped'] = function(text) {
return gSobject.htmCd += text;
}