haml-edge 2.1.20 → 2.1.21
Sign up to get free protection for your applications and to get access to all the features.
- data/EDGE_GEM_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/haml/precompiler.rb +1 -1
- metadata +1 -1
data/EDGE_GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.21
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.21
|
data/lib/haml/precompiler.rb
CHANGED
@@ -281,7 +281,7 @@ END
|
|
281
281
|
text, tab_change = @to_merge.inject(["", 0]) do |(str, mtabs), (type, val, tabs)|
|
282
282
|
case type
|
283
283
|
when :text
|
284
|
-
[str << val.
|
284
|
+
[str << val.inspect[1...-1], mtabs + tabs]
|
285
285
|
when :script
|
286
286
|
if mtabs != 0 && !@options[:ugly]
|
287
287
|
val = "_hamlout.adjust_tabs(#{mtabs}); " + val
|