Commit 6a4b25bc authored by NGPixel's avatar NGPixel

fix: plantuml deflate raw

parent 4aa7828a
...@@ -112,7 +112,7 @@ module.exports = { ...@@ -112,7 +112,7 @@ module.exports = {
altToken altToken
) )
var zippedCode = encode64(zlib.deflateSync('@startuml\n' + contents + '\n@enduml').toString('binary')) var zippedCode = encode64(zlib.deflateRawSync('@startuml\n' + contents + '\n@enduml').toString('binary'))
token = state.push('uml_diagram', 'img', 0) token = state.push('uml_diagram', 'img', 0)
// alt is constructed from children. No point in populating it here. // alt is constructed from children. No point in populating it here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment