oga 2.14 → 2.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0184b6dd3129310044ca8c4bfa74f279566d8b50d93fe0bd313384fd635cc74c'
4
- data.tar.gz: '088ee09d1c4b398bf80f478f5e3072fd7341de0a7ec50547827f1243bbc13391'
3
+ metadata.gz: '09809a9591606c3dbed1284ec8fa5dc37f1c6b10ae079b48dd3a756029dada53'
4
+ data.tar.gz: 5ac65c917043c3e51b0cfcb3c8fe0d341a4aeb7e3c39a52c7e3c1d3b68c4c37d
5
5
  SHA512:
6
- metadata.gz: 84f951cd7414fa3a312380e343dc997ae9f94bdec825cff45b5ad8574a84276281cd4de71fb434a3c5fef08f0d76991810fb142d75176f37f66da6ca5c4e3f32
7
- data.tar.gz: 5fbd1267ed3bcac28fd9dcec7c2735bdfc9437b717cd45c640ca2285cf974ea4deb3c12c896605531d918860de5e73eb6fd819c4dd9e7fd316785c63d696a729
6
+ metadata.gz: 541756a494f6a5de668a73dbb7d28999242689cfecbb475d6940edcc0a5428a99ab6f432d0d729d2fdc1bc9e68244f0f15557e70e46d0f4a0ed2aa02671d6b9d
7
+ data.tar.gz: 9375adf05e90a223fd4f0d00ca251f2b917552c58261ab2d3838fc5a339815657bc60344b322a4415a40d72cc8b410b89ff14a869a8ad5810652660c0c69f314
@@ -1,3 +1,3 @@
1
1
  module Oga
2
- VERSION = '2.14'
2
+ VERSION = '2.15'
3
3
  end # Oga
@@ -58,7 +58,11 @@ module Oga
58
58
 
59
59
  HTML_SCRIPT_ELEMENTS = Whitelist.new(%w{script template})
60
60
 
61
- HTML_TABLE_ROW_ELEMENTS = Whitelist.new(%w{tr}) + HTML_SCRIPT_ELEMENTS
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.14'
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-01-30 00:00:00.000000000 Z
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.0
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.