asciidoctor-lists-extended 1.1.9 → 1.1.10

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: 72c5d46f992c6f0a7b58c4003808b8a6d059f850ead2cfbd40f0f061b224f9fe
4
- data.tar.gz: 54383a1e131b100a783d8283ada454da5693c560507d2079354e06ad87b643de
3
+ metadata.gz: 16dda3a711337611c76e4fc8c4b6eda22fc66419e81ef557ff679578c292c986
4
+ data.tar.gz: 208a25e0ec8d8854970c8ab027d6a02c06f0f94517aa1086310d07588a729fe0
5
5
  SHA512:
6
- metadata.gz: 5484ba145b970050d193c959b583cf82b452c6b989f2dbdb0145906df7332f57ef944cc4afcf4f98f94e0e84856c2565f92be535c979a4b0dc4bd1b58df2f07f
7
- data.tar.gz: f809bb34887a0bb0ee1db5d1ed6a7db0d38cace412e651e74241d4d28ee038e66e6020461789745fbf6795aae47db1286eee64efbb57312686cbb31d8c0df3fa
6
+ metadata.gz: c470295d328df8f293a372a66c72463c9d7393eb27e71ff9d768ba0a9932bfda9123ae34523298f4340a4b614a43a8ff7f3fab55f5d4fd71448f94b117d93233
7
+ data.tar.gz: 07e2c7a94bd841ba46c4ff168ec21f51e1209a495e0d522db60b4d2dbf390226a26e4e5434952bc1105705684b7b54b2dbf78e3d378053d8cac884539defca20
@@ -90,16 +90,7 @@ module Asciidoctor
90
90
  end
91
91
 
92
92
  # PDF backend: UUID placeholders are handled by PDFConverterWithLists.
93
- # allocate_toc/ink_toc only fire when the document has a toc attribute set.
94
- # Warn here so the author sees a clear message instead of raw UUIDs in the PDF.
95
- if document.backend == 'pdf'
96
- unless document.attr?('toc')
97
- document.logger.warn 'asciidoctor-lists-extended: list-of:: macros in PDF output require ' \
98
- 'toc::[] in the document (or :toc: in the header); ' \
99
- 'without it the list will render as a raw UUID placeholder.'
100
- end
101
- return
102
- end
93
+ return if document.backend == 'pdf'
103
94
 
104
95
  # HTML5 and other backends: replace UUID placeholders with xref content.
105
96
  HtmlRenderer.new.render(document)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-lists-extended
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - 白一百 baiyibai