From b06bc7628c3a4099b280187cb76e8f107b89733a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 9 Nov 2015 14:04:13 +0100 Subject: Replace some more characters in HTML --- emacs/.emacs.d/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'emacs') 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." -- cgit v1.2.3-54-g00ecf