htmlbeautifier 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/htmlbeautifier/html_parser.rb +1 -1
- data/lib/htmlbeautifier/parser.rb +1 -1
- data/lib/htmlbeautifier/version.rb +1 -1
- 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: d1c8931fa0f5cefbea1f5dd7537a1ef412b87889
|
4
|
+
data.tar.gz: 3018176f5047d9e731e0bdab5f09bf60dab81af6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb02ac85d25eaa333147a02667afc8c761fb44d537a78ca7f9f39de44814efc1552befdeab689d7da3a96ae0bb4e189263ab8b2746513a70ade37b33da63195b
|
7
|
+
data.tar.gz: 7aff7cddcfd6e058dbd6f633598e66ec5a786b6e1e5ba5cb8b593048ac958157335fa19ab81abcd07e9486d18df26b9031ffe25c5d8f0391546d3a07c1b2f9f2
|
@@ -2,7 +2,7 @@ require 'htmlbeautifier/parser'
|
|
2
2
|
|
3
3
|
module HtmlBeautifier
|
4
4
|
class HtmlParser < Parser
|
5
|
-
ELEMENT_CONTENT = %r{ (
|
5
|
+
ELEMENT_CONTENT = %r{ (?:<%.*?%>|[^>])* }mx
|
6
6
|
HTML_VOID_ELEMENTS = %r{(?:
|
7
7
|
area | base | br | col | command | embed | hr | img | input | keygen |
|
8
8
|
link | meta | param | source | track | wbr
|
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.0.2
|
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-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|