I have an application, and it is fed some HTML. It then needs to put that HTML into a string. This HTML contains single and double quotes. Is it possible, in javascript, to
You need to escape the quotation characters with \:
\
var someString = 'escape all the quotation marks \"\'';