-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
single quotes in answers #60
Comments
You can escape single quotes like this: Edit: with your example you'll need to type your answer out like this: |
but still occurs same issues this issues can be solved by using javascript escape function |
@jbkeg Can you show me an example snippet of your code? I'd like to try and find out why it may occur. The escape function might be an interesting way of dealing with these kinds of issues. If you'd like to submit a PR, I'll do some testing on it to see if it can be safely implemented. |
I can confirm |
Thanks for the sample, @sabatale ! I'm gonna reopen this since this is now a replicable issue. For now, I suggest you try curly apostrophes: |
if there is a single quote in prefixed reply question it occurred error with
"Uncaught SyntaxError: missing ) after argument list"
on questionsHTML
ie)
if the answer is "i don't care" or else
rest of chat will be stops with javascript error
The text was updated successfully, but these errors were encountered: