java – HTML String Inside Nested String
<span class=class>Heres Johnny!</span>
youll need to do:
In most languages double quotes can be placed inside double-quoted string by escaping them:
This is a quoted string: Im a quoted string.
The need of such thing (inserting js code with strings into Java string) may indicate, that your code design isnt ok.