]> gitweb.factorcode.org Git - factor.git/commitdiff
html.templates.chloe: fix tests for script cdata change
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 12 Feb 2022 03:57:39 +0000 (19:57 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 12 Feb 2022 03:57:39 +0000 (19:57 -0800)
basis/html/templates/chloe/chloe-tests.factor

index 2fce6ac8da00172d1e9b7a5dc41693631c80ad8d..873f5905db4aa098bc25263dfa22989b2ab54132 100644 (file)
@@ -201,7 +201,7 @@ TUPLE: person first-name last-name ;
     ] with-variable
 ] unit-test
 
-{ "<script type=\"text/javascript\"> function testAlerts() {    window.alert(\"Hello, world!\");} </script>" } [
+{ "<script type=\"text/javascript\">/* <![CDATA[*/function testAlerts() {    window.alert(\"Hello, world!\");}/*]]> */</script>" } [
     SBUF" " clone script [
         [ "test17" test-template call-template ] run-template
     ] with-variable