]> gitweb.factorcode.org Git - factor.git/commitdiff
html.templates.chloe: use CDATA for scripts
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Feb 2022 23:20:36 +0000 (15:20 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Feb 2022 23:20:36 +0000 (15:20 -0800)
basis/html/templates/chloe/chloe.factor

index 4e25ad3208f5dadae8922a0e58ca1bc9747e150d..d2c784adcd657a256bf98e062d1c5faa7e4126b4 100644 (file)
@@ -46,7 +46,7 @@ CHLOE: script
 CHLOE: write-script
     drop [
         get-script
-        [XML <script type="text/javascript"> <-> </script> XML]
+        [XML <script type="text/javascript"><![CDATA[<->]]></script> XML]
     ] [xml-code] ;
 
 CHLOE: meta