ox-html: Fix links with ampersands
commit980aef2dfbef4ead2ed61a2fcf441c02e88a820c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 2 Sep 2015 19:30:59 +0000 (2 21:30 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 2 Sep 2015 19:30:59 +0000 (2 21:30 +0200)
tree5a1fcd5cb3df3518fcb874b6efe88bfe787a2c3a
parentd66d6f55e02dd75e308ea105a08feee522ff7c86
ox-html: Fix links with ampersands

* lisp/ox-html.el (org-html-link): Escape ampersands and other special
  characters in anchor once and only once.

Reported-by: "Greedwolf DSS" <passchaos@163.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100797>
lisp/ox-html.el