asciidoctor-html 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,9 +14,9 @@ module Asciidoctor
14
14
  if(content) {
15
15
  if(content.tagName == 'A') {
16
16
  // This is an anchor of a bibitem
17
- const listItem = content.parentElement.cloneNode(true)
18
- listItem.removeChild(listItem.firstChild)
19
- content = listItem
17
+ const bibItem = content.parentElement.cloneNode(true)
18
+ bibItem.removeChild(bibItem.firstChild) // remove the anchor
19
+ content = bibItem.innerHTML
20
20
  }
21
21
  popovers.push(new bootstrap.Popover(el, {
22
22
  content: content,
@@ -24,6 +24,8 @@ module Asciidoctor
24
24
  %(<u>#{text}</u>)
25
25
  when "small"
26
26
  %(<small>#{text}</small>)
27
+ when "kbd"
28
+ %(<kbd>#{text}</kbd>)
27
29
  when "abbr"
28
30
  title = %( title="#{attrs["title"]}" data-bs-toggle="tooltip") if attrs.include?("title")
29
31
  role = %( class="#{attrs["role"]}") if attrs.include?("role")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Rajani
@@ -72,6 +72,7 @@ executables:
72
72
  extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
+ - ".browserslistrc"
75
76
  - ".rubocop.yml"
76
77
  - CHANGELOG.md
77
78
  - CODE_OF_CONDUCT.md
@@ -81,7 +82,6 @@ files:
81
82
  - assets/css/fonts/bootstrap-icons.woff
82
83
  - assets/css/fonts/bootstrap-icons.woff2
83
84
  - assets/css/styles.css
84
- - assets/css/styles.css.map
85
85
  - assets/favicon/android-chrome-192x192.png
86
86
  - assets/favicon/android-chrome-512x512.png
87
87
  - assets/favicon/apple-touch-icon.png