haml-edge 3.1.35 → 3.1.36
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/html.rb +1 -1
- data/test/haml/html2haml_test.rb +7 -0
- metadata +2 -2
data/EDGE_GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.36
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.36
|
data/lib/haml/html.rb
CHANGED
@@ -221,7 +221,7 @@ module Haml
|
|
221
221
|
if content.include?("\n")
|
222
222
|
"#{tabulate(tabs)}/#{condition}\n#{parse_text(content, tabs + 1)}"
|
223
223
|
else
|
224
|
-
"#{tabulate(tabs)}/#{condition} #{content.strip}"
|
224
|
+
"#{tabulate(tabs)}/#{condition} #{content.strip}\n"
|
225
225
|
end
|
226
226
|
end
|
227
227
|
end
|
data/test/haml/html2haml_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml-edge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2010-06-
|
14
|
+
date: 2010-06-07 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|