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 +4 -4
- data/lib/asciidoctor-lists-extended/extensions.rb +1 -10
- 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: 16dda3a711337611c76e4fc8c4b6eda22fc66419e81ef557ff679578c292c986
|
|
4
|
+
data.tar.gz: 208a25e0ec8d8854970c8ab027d6a02c06f0f94517aa1086310d07588a729fe0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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)
|