Avoid breaking long lines on base64 encoding

Spotted by @alexvs11 as a solution to #101
This commit is contained in:
Carlo Sciolla 2019-08-03 16:03:25 +02:00
parent 56bb65342a
commit 0ae3aed095
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ Put the result into buffer BUF and place it according to PREFIX:
- 4 (when prefixing the command with C-u) -> new window
- 16 (when prefixing the command with C-u C-u) -> new frame.
- else -> new buffer"
(let* ((url-request-location (concat plantuml-server-url "/" plantuml-output-type "/-base64-" (base64-encode-string string))))
(let* ((url-request-location (concat plantuml-server-url "/" plantuml-output-type "/-base64-" (base64-encode-string string t))))
(save-current-buffer
(save-match-data
(url-retrieve url-request-location