Replace some more characters in HTML
This commit is contained in:
parent
acb703bfc0
commit
b06bc7628c
1 changed files with 4 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue