Replace some more characters in HTML

This commit is contained in:
Tom Willemse 2015-11-09 14:04:13 +01:00
parent acb703bfc0
commit b06bc7628c

View file

@ -507,7 +507,10 @@ use. If MODE is not nil, open a new buffer with the name
(defun oni:replace-html-special-chars ()
"Replace special characters with HTML escaped entities."
(oni:replace-occurrences "é" "é"))
(oni:replace-occurrences "é" "é")
(oni:replace-occurrences "" "’")
(oni:replace-occurrences "" "‘")
(oni:replace-occurrences "ë" "ë"))
(defun oni:replace-occurrences (from to)
"Replace all occurrences of FROM with TO in the current buffer."