E552 Fix PlantUML rendering failure caused by invalid deflate output from zip_deflate by mattn · Pull Request #231 · previm/previm · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@mattn
Copy link
Member
@mattn mattn commented Dec 5, 2025

PlantUML server rejected the generated URLs with:
"The URL does not look like DEFLATE data. It looks like your plugin is using HUFFMAN encoding."

The issue was caused by the zip_deflate implementation, which produced
non-compliant deflate streams for certain UTF-8 inputs.

Updated the compression path to avoid the faulty deflate output. delete zip_deflate.js and implemented wih browser's future.

@mattn mattn merged commit 4e46b05 into master Dec 5, 2025
6 checks passed
@mattn mattn deleted the plantuml-preview branch December 5, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0