aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stack-core.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/stack-core.el b/stack-core.el
index 5a90cb3..c78c316 100644
--- a/stack-core.el
+++ b/stack-core.el
@@ -342,7 +342,9 @@ context of `stack-cache-directory'."
(defun stack-core--decode-entities (string)
(let* ((plist stack-core-html-entities-plist)
(get-function (lambda (s) (let ((ss (substring s 1 -1)))
+ ;; Handle things like "
(or (plist-get plist (intern ss))
+ ;; Handle things like '
(format "%c" (string-to-int
(substring ss 1))))))))
(replace-regexp-in-string "&[^; ]*;" get-function string)))