asciidoctor-pdf icon indicating copy to clipboard operation
asciidoctor-pdf copied to clipboard

Add support for SVG to image referece in SVG encoded as a data URI (SVG data loader)

Open scuba1012002 opened this issue 11 months ago • 1 comments

In the file from the asciidoctor-pdf repo lib/asciidoctor/pdf/ext/prawn-svg/loaders/data.rb it was advised to remove the regex REGEXP = %r(\Adata:image/(?:png|jpe?g);base64(?:;[a-z0-9]+)*,)i restriction now that prawn-svg supports SVG image references in SVG

Regex from prawn: REGEXP = %r{\Adata:image/(png|jpeg|svg\+xml);base64(;[a-z0-9]+)*,}i

scuba1012002 avatar Mar 22 '24 13:03 scuba1012002

This is related to prawn-svg upgrade in 2.3.14.

mojavelinux avatar Mar 22 '24 19:03 mojavelinux