ruby2html 1.5.1 → 1.5.2
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: 6939967de3aa7a534e6ae8d5736e9b8aada0e7bb8822e8acb2a7be2a072c6f82
|
4
|
+
data.tar.gz: b872fcd0fa941c7f09bf41a3b3cece4b53d765d060afa9bbde4b88c8ed786ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c0e095450fbdb205a1ea30ea67fc2b9a7a84a8336b78b80b2d7426efb05d75cddaa600161e2bc1cf2ee68710cdbc3b2c164555b32e969c01ef80badd2f59e99
|
7
|
+
data.tar.gz: 78e35ea7e89947b3ba9b0e48171539895b2968149ddaabe86b64d87593940ded7cb03e8adac144c2c1d513928c84ccac5739a185ec977a1caadd16d3114f4e01
|
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
|
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
|