govspeak 6.8.3 → 6.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/govspeak/html_validator.rb +1 -1
- data/lib/govspeak/version.rb +1 -1
- data/test/html_validator_test.rb +5 -0
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35ed6a74578a19fb89e4c855494d27708d7809e925a6029b5b391fbe474f5d49
|
4
|
+
data.tar.gz: 74f0b44824ff948767ae8e8f1a5f95ae784f07ea3ab424f66a46ee0d07efb6af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c022e6a898d40e41ea571d9f39863f6235822810d2823f99d17e58eb559ab7e0b2b35c2a60cdec627270b9fe3d31c39224f820e5e8f3378f8df811478ca6203d
|
7
|
+
data.tar.gz: facb052f32abfcdc7e54fb6799d7e052d1a951aedce6db6b582fa716654bb6cc6730ff99af65a2af511dc0039b4f07f8f9669accbadf8821b01f2280c22933c8
|
data/CHANGELOG.md
CHANGED
data/lib/govspeak/version.rb
CHANGED
data/test/html_validator_test.rb
CHANGED
@@ -108,4 +108,9 @@ class HtmlValidatorTest < Minitest::Test
|
|
108
108
|
assert Govspeak::HtmlValidator.new("<table><tr><td>Hello</td></tr></table>").valid?, "No <tbody> is valid"
|
109
109
|
assert Govspeak::HtmlValidator.new("<table><tbody><tr><td>Hello</td></tr></tbody></table>").valid?, "<tbody> is valid"
|
110
110
|
end
|
111
|
+
|
112
|
+
test "allow HTML tables with \n" do
|
113
|
+
html = "<table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n<th colspan=\"3\"></th>\n\n</tr>\n</thead>\n<tr>\n<th></th>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</table>"
|
114
|
+
assert Govspeak::HtmlValidator.new(html).valid?, 'Tables with no <tbody> and \n are valid'
|
115
|
+
end
|
111
116
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govspeak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.8.
|
4
|
+
version: 6.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -190,14 +190,14 @@ dependencies:
|
|
190
190
|
requirements:
|
191
191
|
- - '='
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: 4.
|
193
|
+
version: 4.6.0
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - '='
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: 4.
|
200
|
+
version: 4.6.0
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: simplecov
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -327,29 +327,29 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
327
327
|
- !ruby/object:Gem::Version
|
328
328
|
version: '0'
|
329
329
|
requirements: []
|
330
|
-
rubygems_version: 3.3.
|
330
|
+
rubygems_version: 3.3.20
|
331
331
|
signing_key:
|
332
332
|
specification_version: 4
|
333
333
|
summary: Markup language for single domain
|
334
334
|
test_files:
|
335
|
-
- test/
|
336
|
-
- test/
|
337
|
-
- test/govspeak_button_test.rb
|
338
|
-
- test/govspeak_footnote_test.rb
|
339
|
-
- test/govspeak_images_test.rb
|
340
|
-
- test/govspeak_images_bang_test.rb
|
341
|
-
- test/blockquote_extra_quote_remover_test.rb
|
342
|
-
- test/html_sanitizer_test.rb
|
335
|
+
- test/govspeak_attachments_image_test.rb
|
336
|
+
- test/govspeak_link_extractor_test.rb
|
343
337
|
- test/govspeak_table_with_headers_test.rb
|
338
|
+
- test/govspeak_attachment_test.rb
|
344
339
|
- test/govspeak_extract_contact_content_ids_test.rb
|
340
|
+
- test/test_helper.rb
|
345
341
|
- test/html_validator_test.rb
|
346
|
-
- test/
|
342
|
+
- test/govspeak_test_helper.rb
|
343
|
+
- test/html_sanitizer_test.rb
|
344
|
+
- test/govspeak_footnote_test.rb
|
345
|
+
- test/govspeak_images_test.rb
|
346
|
+
- test/govspeak_button_test.rb
|
347
347
|
- test/govspeak_test.rb
|
348
|
-
- test/
|
349
|
-
- test/
|
350
|
-
- test/govspeak_link_extractor_test.rb
|
351
|
-
- test/govspeak_link_test.rb
|
348
|
+
- test/blockquote_extra_quote_remover_test.rb
|
349
|
+
- test/govspeak_images_bang_test.rb
|
352
350
|
- test/presenters/h_card_presenter_test.rb
|
351
|
+
- test/govspeak_contacts_test.rb
|
352
|
+
- test/govspeak_attachment_link_test.rb
|
353
353
|
- test/govspeak_attachments_inline_test.rb
|
354
|
-
- test/
|
354
|
+
- test/govspeak_link_test.rb
|
355
355
|
- test/govspeak_structured_headers_test.rb
|