From 0ae3aed09521dc474be224715704ec77948dfda4 Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Sat, 3 Aug 2019 16:03:25 +0200 Subject: [PATCH] Avoid breaking long lines on base64 encoding Spotted by @alexvs11 as a solution to #101 --- plantuml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index beb35a7..4c3c93f 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -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