Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Extra semicolons or missing them #51

Open
chiquitinxx opened this issue Apr 18, 2016 · 0 comments
Open

Extra semicolons or missing them #51

chiquitinxx opened this issue Apr 18, 2016 · 0 comments

Comments

@chiquitinxx
Copy link
Owner

Sometimes extra semicolons...

if (gs.equals(gSswitch0, "&")) { gSobject.htmCd += "&amp;"; ; } else if (gs.equals(gSswitch0, "<")) { gSobject.htmCd += "&lt;"; ; } else if (gs.equals(gSswitch0, ">")) { gSobject.htmCd += "&gt;"; ; } else if (gs.equals(gSswitch0, "\"")) { gSobject.htmCd += "&quot;"; ; } else if (gs.equals(gSswitch0, "'")) { gSobject.htmCd += "&apos;"; ; } else { gSobject.htmCd += ch; ; };

Sometimes missing them...

gSobject['yieldUnescaped'] = function(text) {
    return gSobject.htmCd += text;
  }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant