fix: plantuml deflate raw

This commit is contained in:
NGPixel 2020-05-08 14:14:48 -04:00
parent 4aa7828a92
commit 6a4b25bc28

View File

@ -112,7 +112,7 @@ module.exports = {
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)
// alt is constructed from children. No point in populating it here.