asciidoctor-dita-topic 1.4.1 → 1.4.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9370324a3ca3038bb4c08bd09d841324e38dd104bfa74c1b348f12e0e10b1e81
4
- data.tar.gz: 96c1658de519a689c8b043ffb13d2ec81df236e63776d1aa6020e0ded814d6a1
3
+ metadata.gz: 309a32eee2e59c3b1ef187bfbf1a36a87777c49834aae48c5c4889313638ab53
4
+ data.tar.gz: 4653870065c2f971cdaefa3c372c30bb3d22ee20cc88c0daf54f30b912eb8f21
5
5
  SHA512:
6
- metadata.gz: a0b0d4a38741944e8fbefec12b88e55d57792455550c343f5403f5021040dcbf8d6cade948b4402a1a7056e9c3861b5dccfa897f7cdb03a7822281f178a75c99
7
- data.tar.gz: 4d45d6f0bde2b5e087ca94e8a7c58173707383b445e28ee02e68695323cc797b9d41af45d6810cf6c2d59110a0af6f441d3c5b6eb0848ef64c92c0830a63d22a
6
+ metadata.gz: 99037921c854d2a292fb3d973373cdc2e89e5a99d76b98755e20a0f9e7e8dc5b096530428c0a2e629b73e0344840537e89ef4e50815f1e30243b72b5ff16ea18
7
+ data.tar.gz: eca7844a1bfb3f1afea7dbbdfe4b78d0ffbedd6927f8c180615ffa11d899a1c0832ca181321d94ea8615ec4aecddf77c3d941e5b4a11cc18dac6a256cc913c9a
@@ -24,5 +24,5 @@
24
24
  # frozen_string_literal: true
25
25
 
26
26
  module AsciidoctorDitaTopic
27
- VERSION = '1.4.1'
27
+ VERSION = '1.4.2'
28
28
  end
data/lib/dita-topic.rb CHANGED
@@ -300,7 +300,7 @@ class DitaTopic < Asciidoctor::Converter::Base
300
300
  case node.type
301
301
  when :link
302
302
  # Compose an external link:
303
- %(<xref href="#{node.target}" scope="external"#{compose_id node.id}#{compose_metadata node.role}>#{node.text}</xref>)
303
+ %(<xref href="#{node.target}" format="html" scope="external"#{compose_id node.id}#{compose_metadata node.role}>#{node.text}</xref>)
304
304
  when :xref
305
305
  # NOTE: While AsciiDoc is happy to reference an ID that is not
306
306
  # defined in the same AsciiDoc file, DITA requires the topic ID as
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-dita-topic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaromir Hradilek