oga 2.14 → 2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/lexer.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09809a9591606c3dbed1284ec8fa5dc37f1c6b10ae079b48dd3a756029dada53'
|
4
|
+
data.tar.gz: 5ac65c917043c3e51b0cfcb3c8fe0d341a4aeb7e3c39a52c7e3c1d3b68c4c37d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 541756a494f6a5de668a73dbb7d28999242689cfecbb475d6940edcc0a5428a99ab6f432d0d729d2fdc1bc9e68244f0f15557e70e46d0f4a0ed2aa02671d6b9d
|
7
|
+
data.tar.gz: 9375adf05e90a223fd4f0d00ca251f2b917552c58261ab2d3838fc5a339815657bc60344b322a4415a40d72cc8b410b89ff14a869a8ad5810652660c0c69f314
|
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/lexer.rb
CHANGED
@@ -58,7 +58,11 @@ module Oga
|
|
58
58
|
|
59
59
|
HTML_SCRIPT_ELEMENTS = Whitelist.new(%w{script template})
|
60
60
|
|
61
|
-
|
61
|
+
# The elements that may occur in a thead, tbody, or tfoot.
|
62
|
+
#
|
63
|
+
# Technically "th" is not allowed per the HTML5 spec, but it's so commonly
|
64
|
+
# used in these elements that we allow it anyway.
|
65
|
+
HTML_TABLE_ROW_ELEMENTS = Whitelist.new(%w{tr th}) + HTML_SCRIPT_ELEMENTS
|
62
66
|
|
63
67
|
# Elements that should be closed automatically before a new opening tag is
|
64
68
|
# processed.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.15'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.7.
|
229
|
+
rubygems_version: 2.7.4
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Oga is an XML/HTML parser written in Ruby.
|