diff --git a/test/haml/erb/standard.erb b/test/haml/erb/standard.erb index 8f5d0972..0cc8ea77 100644 --- a/test/haml/erb/standard.erb +++ b/test/haml/erb/standard.erb @@ -18,7 +18,7 @@ <% end -%>
<%= " Quotes should be loved! Just like people!" %>
Wow. -

+

<%= "Holy cow " + "multiline " + "tags! " + @@ -28,7 +28,8 @@ n.to_s }.join("|") %>

-
+ <% bar = 17 %> +
<% foo = String.new foo << "this" foo << " shouldn't" diff --git a/test/haml/results/standard.xhtml b/test/haml/results/standard.xhtml index 849bdc6e..6897fc30 100644 --- a/test/haml/results/standard.xhtml +++ b/test/haml/results/standard.xhtml @@ -134,12 +134,12 @@ 118 119 Wow.| -

+

Holy cow multiline tags! A pipe (|) even! PipesIgnored|PipesIgnored|PipesIgnored| 1|2|3

-
+
this shouldn't evaluate but now it should!
    diff --git a/test/haml/templates/standard.haml b/test/haml/templates/standard.haml index 0126ac79..c1d48669 100644 --- a/test/haml/templates/standard.haml +++ b/test/haml/templates/standard.haml @@ -14,7 +14,7 @@ - 120.times do |number| = number Wow.| - %p + %p{:code => 1 + 2} = "Holy cow " + | "multiline " + | "tags! " + | @@ -23,7 +23,8 @@ = [1, 2, 3].collect { |n| | n.to_s | }.join("|") | - %div.silent + - bar = 17 + %div.silent{:foo => bar} - foo = String.new - foo << "this" - foo << " shouldn't"