From 658853aebb0ae2ee243276e04a7672fa7525ec5c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 19 Oct 2017 00:36:44 +0200 Subject: [PATCH] * lisp/svg.el (svg--encode-text): Fix off-by-one error in previous patch. --- lisp/svg.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/svg.el b/lisp/svg.el index 241385fa91f..42619ed3519 100644 --- a/lisp/svg.el +++ b/lisp/svg.el @@ -167,7 +167,7 @@ otherwise. IMAGE-TYPE should be a MIME image type, like (goto-char (point-min)) (while (not (eobp)) (let ((char (following-char))) - (if (<= char 128) + (if (< char 128) (forward-char 1) (delete-char 1) (insert "&#" (format "%d" char) ";")))) -- 2.39.2