haml-edge 2.1.20 → 2.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|