Allow apostrophe inside strings
ympbyc opened this issue · comments
Minori Yamashita commented
In JavScript and most other languages, 'foo'bar'' is identical to "foo'bar'". Meanwhile LSs throws an error because it thinks the apostrophe before bar is the string terminator.
Since we can not use double quotation for strings, there currently is no way to include an apostrophe in a string.
Minori Yamashita commented
v1.0.3 supports backslash escaping. You can include an apostrophe in a string by appending a backslash in front of it.
'That\'s great!'