diff options
author | Tom Willemse | 2015-11-09 14:04:13 +0100 |
---|---|---|
committer | Tom Willemse | 2015-11-09 14:04:13 +0100 |
commit | b06bc7628c3a4099b280187cb76e8f107b89733a (patch) | |
tree | 30fe5ab5e5711c24242587a768e2a36a437a572c | |
parent | acb703bfc0b041993679cf1845f5ba18485176d7 (diff) | |
download | dotfiles-b06bc7628c3a4099b280187cb76e8f107b89733a.tar.gz dotfiles-b06bc7628c3a4099b280187cb76e8f107b89733a.zip |
Replace some more characters in HTML
-rw-r--r-- | emacs/.emacs.d/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 8b68969..79538b0 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -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." |