github asciidoctor/asciidoctor-pdf v2.1.4

latest releases: v2.3.18, v2.3.17, v2.3.16...
2 years ago

This is a patch release in the 2.1.x release line that includes backports from the 2.2.x release line. It fixes several issues that have been hiding in the shadows for a long time and enhances the warning message for truncated table cells.

If the alt text for a block image, video, or audio exceeds the width of the content area, the text will wrap to the next line instead of being advanced to the next page. This fix prevents a fixed width table cell from breaching the height of the page. In the event that a table cell does exceed the height of a page, and the sourcemap is enabled, the warning message will include the source location of the cell. The converter will no longer suggest enabling the allow-uri-read attribute if an image target contains a colon, but is not a URL. If a custom role contains the text-transform property, that transform will be applied the value of an attribute reference. Previously, the transform would be applied before attribute references are resolved.

Distribution

Changelog

Improvements

  • include source location in warning message for truncated table cell if sourcemap is enabled (#2261)

Bug Fixes

  • allow alt text for block image, video, and audio to wrap to next line on same page (#2258)
  • apply text-tranform from custom role on phrase after attributes have been resolved (#2263)
  • make URL check more strict so image target containing a colon is not mistaken as a URL

Release meta

Released on: 2022-06-25
Released by: @mojavelinux
Release beer: We Are the Weirdos by Beer Zombies Brewing

Logs: resolved issues | full diff

Credits

A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.

Don't miss a new asciidoctor-pdf release

NewReleases is sending notifications on new releases.