asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.13k stars 500 forks source link

Source location not reported if description in horizontal dlist is truncated #2502

Closed mojavelinux closed 4 months ago

mojavelinux commented 4 months ago

If the description of a horizontal dlist is truncated because it exceeds the height of a single page, and the --sourcemap option is enabled when calling Asciidoctor PDF, the converter does not report the source location of the description. The reason this happens is because the value of the source_location property on the description block is not passed to the Prawn table cell object. The value of this property needs to be propagated to resolve this issue.