asciidoctor-dita-topic 1.4.0 → 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: e2450b8d59daacc0f3b75a5d1d30e4527260f5c41696dd4eca6180b2dd922c8d
4
- data.tar.gz: 3d1fbc5d40698c9fbfa3045e8319d2d8a774b97419287c5bfbd082f35f5dae51
3
+ metadata.gz: 309a32eee2e59c3b1ef187bfbf1a36a87777c49834aae48c5c4889313638ab53
4
+ data.tar.gz: 4653870065c2f971cdaefa3c372c30bb3d22ee20cc88c0daf54f30b912eb8f21
5
5
  SHA512:
6
- metadata.gz: 7eb3def3e75ac2d610667cacdf1f247aba118dea8f758895c5e2ef2ab5d1e0c0133a67506cc1b1b57bf72e8f5cdf212ef01a1e67787de07cf7a1f3682f8dd3d4
7
- data.tar.gz: a44b76667c70adea284ad5ce7078c74a1271ddaa6ff6628cf75959e0e0957f1cff9dce07103d8026da2e06003495ba918116d23fb1a3edb50b78bdd050962c6a
6
+ metadata.gz: 99037921c854d2a292fb3d973373cdc2e89e5a99d76b98755e20a0f9e7e8dc5b096530428c0a2e629b73e0344840537e89ef4e50815f1e30243b72b5ff16ea18
7
+ data.tar.gz: eca7844a1bfb3f1afea7dbbdfe4b78d0ffbedd6927f8c180615ffa11d899a1c0832ca181321d94ea8615ec4aecddf77c3d941e5b4a11cc18dac6a256cc913c9a
data/bin/dita-topic CHANGED
@@ -31,4 +31,6 @@ begin
31
31
  converter.run
32
32
  rescue OptionParser::InvalidArgument, OptionParser::InvalidOption, OptionParser::MissingArgument => error
33
33
  abort "#{name}: #{error.message}"
34
+ rescue Interrupt
35
+ exit 130
34
36
  end
@@ -24,5 +24,5 @@
24
24
  # frozen_string_literal: true
25
25
 
26
26
  module AsciidoctorDitaTopic
27
- VERSION = '1.4.0'
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.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaromir Hradilek