Avoid line breaks in base64 encoding
This commit is contained in:
parent
a8846bed6b
commit
f3bc563eea
|
@ -410,7 +410,7 @@ Put the result into buffer BUF. Window is selected according to PREFIX:
|
|||
"Encode the string STRING into a URL suitable for PlantUML server interactions."
|
||||
(let* ((coding-system (or buffer-file-coding-system
|
||||
"utf8"))
|
||||
(encoded-string (base64-encode-string (encode-coding-string string coding-system))))
|
||||
(encoded-string (base64-encode-string (encode-coding-string string coding-system) t)))
|
||||
(concat plantuml-server-url "/" plantuml-output-type "/-base64-" encoded-string)))
|
||||
|
||||
(defun plantuml-server-preview-string (prefix string buf)
|
||||
|
|
Loading…
Reference in New Issue