Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only wrap filter content in CDATA with XHTML

  • Loading branch information...
commit 1ffb2331e531a4e5a8f32e8713f564a7d78a43fd 1 parent ad545ac
@norman norman authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 tests.json
View
15 tests.json
@@ -521,6 +521,21 @@
}
},
+ "content in a 'css' filter (HTML)" : {
+ "haml" : ":css\n hello\n\n%p",
+ "html" : "<style>\n hello\n</style>\n<p></p>",
+ "config" : {
+ "format" : "html5"
+ }
+ },
+
+ "content in a 'javascript' filter (HTML)" : {
+ "haml" : ":javascript\n a();\n%p",
+ "html" : "<script>\n a();\n</script>\n<p></p>",
+ "config" : {
+ "format" : "html5"
+ }
+ }
},
"Ruby-style interpolation": {
Please sign in to comment.
Something went wrong with that request. Please try again.