I am adding some javascript that displays some HTML. The HTML is embedded and when I paste it into CuteEditor the formatting results in a Javascript Error "unterminated string literal"
So, pasting...
onmouseover="return overlib('<div style=padding:5px>');"
...gets formatted to
onmouseover="return overlib('
<div style=padding:5px>
');"
...obviously the Editor sees the "<div>" as a new line and wraps it. The extra LineFeed gives rise to the error:
Error: unterminated string literal
Source File: http://www.bbsinew.co.uk/english-course-england_english-courses-england_language-course-england_language-courses-england/
Line: 1, Column: 15
Source Code:
return overlib('<div style=padding:5px><a href=
Can I turn this type of formatting off?