Roave / DocbookTool

:books: Docbook Tool for static documentation generation from Markdown files
52 stars 4 forks source link

Support larger inline images #372

Closed herndlm closed 3 months ago

herndlm commented 3 months ago

Relates to https://github.com/Roave/DocbookTool/issues/307

Based on @cspray's fix-large-inline-image branch.

Using 2_500_000 for pcre.backtrack_limit is enough for the 535K image added here, I went with 5_000_000 which should cover 1M at least. The default is 1_000_000.

herndlm commented 3 months ago

I force-pushed once more and modified the test since the image was meant to be in the previous section I think.