TableTools - Copy breaks when encountering a single quote.
TableTools - Copy breaks when encountering a single quote.
sanelson
Posts: 12Questions: 0Answers: 0
When the copy function encounters a single quote, it will stop processing. No Success message is displayed. The text in the clipboard up until the single quote is intact, but everything after that is truncated. It seems that html escaping the single quote (replacing it with ') on the server-side sometimes works but sometimes doesn't. I believe it fails to work if the character entity resides within an HTML tag, such as , but I am not entirely sure of the disparity. I have managed to work around the issue for now by replacing all single quotes with the ’ character entity, which is not exactly the same, but pretty close.
This discussion has been closed.
Replies
Allan
It only happens if the single quote is placed there via server side processing.
I worked around the issue in the latest build of our app by replacing single quotes with right-hand single-quotes, so you can't see it there anymore. I'll see if I can replicate it later today, unless that's enough to get you going.
http://1.sanelsontest.appspot.com/