ruby2html 1.5.1 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/home/index.html.erb +2 -0
- data/lib/gem/ruby2html/render.rb +2 -2
- data/lib/gem/ruby2html/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3955e27c5627fc4c2ff4e6d069d3685944293288ca18775696bea3556b81a2fe
|
4
|
+
data.tar.gz: bf92d4f6b9d5c87854b9cbed9e417d0d63f3b6a46446bb6cb05af98a389e2f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b9f059efdb34e0c7e66851f364c8058798744ba94df89392d504db452ca2b6cf71af8db21298dda8f16890a55c5991782f0fdde81249bdc56039b98dd3f212a
|
7
|
+
data.tar.gz: aa0903ccf56c36a2c47d871e382a7e343610682dd9ec71b6022eb99e9bbed1b6c519f18b5aa09e52b2967053774ae2eb5803cdcd9ac638a8c6d791a4eae7e74c
|
data/lib/gem/ruby2html/render.rb
CHANGED
@@ -12,7 +12,7 @@ module Ruby2html
|
|
12
12
|
kbd label legend li link main map mark meta meter nav noscript object ol optgroup option
|
13
13
|
output p param picture pre progress q rp rt ruby s samp script section select small source
|
14
14
|
span strong style sub summary sup table tbody td template textarea tfoot th thead time title
|
15
|
-
tr track u ul var video wbr
|
15
|
+
tr track u ul var video wbr turbo-frame turbo-stream
|
16
16
|
].freeze
|
17
17
|
|
18
18
|
VOID_ELEMENTS = %w[area base br col embed hr img input link meta param source track wbr].freeze
|
@@ -53,7 +53,7 @@ module Ruby2html
|
|
53
53
|
end
|
54
54
|
|
55
55
|
HTML5_TAGS.each do |tag|
|
56
|
-
define_method(tag) do |*args, **options, &block|
|
56
|
+
define_method(tag.tr('-', '_')) do |*args, **options, &block|
|
57
57
|
html!(tag, *args, **options, &block)
|
58
58
|
end
|
59
59
|
end
|