Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added specs for whitespace removal.

  • Loading branch information...
commit 3a7c6f390088141ae1fc8b179c86ddfba5374626 1 parent 6866f3f
Norman Clarke norman authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests.json
12 tests.json
View
@@ -545,5 +545,17 @@
"haml" : "%pre\n hello\n hello",
"html" : "<pre>hello\nhello</pre>"
}
+ },
+
+ "Whitespace removal" : {
+ "a tag with > appended" : {
+ "haml" : "%li hello\n%li> world\n%li again",
+ "html" : "<li>hello</li><li>world</li><li>again</li>"
+ },
+
+ "a tag with < appended" : {
+ "haml" : "%p<\n hello\n world",
+ "html" : "<p>hello\nworld</p>"
+ }
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.