RE: <Error: Unterminated string constant>, <Error: Expected ')'>
Literal quotemark, \", ", \42, ",
Literal apostrophe, \', ', \47,
Within literal strings and variants, "...", '...', /.../,
Within function calls within event handlers, onevent='...', onevent="...",
Interact more than expected, and oft fail--
E.g.
'...(/(\')/)'... fails;
'...(""")...' fails;
Etc.
Ofttimes a different combination works....
__
Also, apostrophe, has no entity-name.