]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/xmode/code2html/code2html-tests.factor
Fix an XMode bug exposed in the pastebin
[factor.git] / basis / xmode / code2html / code2html-tests.factor
index 241ab7ff75f0b466fc9e640571bbb4761ee52589..a35e6a2194c1229586de1dcacaad917cf3c9b686 100644 (file)
@@ -18,4 +18,8 @@ kernel io.streams.string xml.writer ;
     <" int x = "hi";
 /* a comment */ "> <string-reader> htmlize-stream
     write-xml
+] unit-test
+
+[ "<span class=\"MARKUP\">: foo</span> <span class=\"MARKUP\">;</span>" ] [
+    { ": foo ;" } "factor" htmlize-lines xml>string
 ] unit-test
\ No newline at end of file