htmlbeautifier 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/htmlbeautifier/builder.rb +1 -2
- data/lib/htmlbeautifier/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb927f5efa5cd85b002af5945bd03106b0fc7c31
|
4
|
+
data.tar.gz: a2dfedd5c2565b7245d1473d77fd729f621e0f0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a06c094220e541614b3026403dfe017207d2b09821044720a5bb4093fc580007c638b746022739d1ba75a22b96e6a9a46bb21eeab293bc84c1a313bacd4f0ed
|
7
|
+
data.tar.gz: 1d29ae0712bed379920a1c1a3e3431d7ffc5404388b1bad04e8b32ae542efdb10f14605fc39e03028a852ddab060ac3e216dcafa5be48fca8c7940736b7ee40a
|
@@ -66,7 +66,7 @@ module HtmlBeautifier
|
|
66
66
|
|
67
67
|
def foreign_block(opening, code, closing)
|
68
68
|
emit opening
|
69
|
-
unless code.empty?
|
69
|
+
unless code.strip.empty?
|
70
70
|
indent
|
71
71
|
|
72
72
|
lines = code.split(/\n/)
|
@@ -141,4 +141,3 @@ module HtmlBeautifier
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
end
|
144
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmlbeautifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Battley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|