Error with CDATA in Scala
The following code breaks the Scala parser
object test {
val html = <html><body>
<script type="text/javascript"> <![CDATA[$(document).ready( function(){ configurePage(); } ); ]]> </script>
</body>
</html>
}
see the attached image.
It works in the Scala interpreter
Attachment(s):
IDEA CDATA ERROR.png
请先登录再写评论。