Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Mark interpolation as optional.

  • Loading branch information...
commit f56ad625319d48b44f86a64365aff50f45c2f6ad 1 parent 73da5ab
Norman Clarke norman authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 tests.json
7 tests.json
View
@@ -454,11 +454,12 @@
},
- "interpolation": {
+ "Ruby-style interpolation": {
"interpolation inside inline content" : {
"haml" : "%p #{var}",
"html" : "<p>value</p>",
+ "optional" : true,
"locals" : {
"var" : "value"
}
@@ -467,6 +468,7 @@
"no interpolation when escaped" : {
"haml" : "%p \\#{var}",
"html" : "<p>#{var}</p>",
+ "optional" : true,
"locals" : {
"var" : "value"
}
@@ -475,6 +477,7 @@
"interpolation when the escape character is escaped" : {
"haml" : "%p \\\\#{var}",
"html" : "<p>\\value</p>",
+ "optional" : true,
"locals" : {
"var" : "value"
}
@@ -483,11 +486,11 @@
"interpolation inside filtered content" : {
"haml" : ":plain\n #{var} interpolated: #{var}",
"html" : "value interpolated: value",
+ "optional" : true,
"locals" : {
"var" : "value"
}
}
-
},
"HTML escaping" : {
Please sign in to comment.
Something went wrong with that request. Please try again.