* lisp/svg.el (svg--encode-text): Fix off-by-one error in previous patch.
This commit is contained in:
parent
32f2ab4bbd
commit
658853aebb
1 changed files with 1 additions and 1 deletions
|
@ -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) ";"))))
|
||||
|
|
Loading…
Add table
Reference in a new issue