|
| From: | Vladimir Alexiev |
| Subject: | [O] org-html-use-unicode-chars breaks source code blocks |
| Date: | Tue, 4 Aug 2015 13:40:58 +0000 (UTC) |
| User-agent: | Loom/3.14 (http://gmane.org/) |
Hi!
I've set org-html-use-unicode-chars since I want ox-html to leave IRIs as IRIs.
But this has another undesired effect: it breaks <URL> references in code,
since it doesn't escape the brackets.
Eg this:
#+BEGIN_SRC Turtle
@prefix aat: <http://vocab.getty.edu/aat/>.
#+END_SRC
results in the URL being invisible in the exported HTML.
The fault is here:
(defun org-html-final-function (contents backend info)
...
(when org-html-use-unicode-chars
(require 'mm-url)
(mm-url-decode-entities))
previous code carefully escaped the entities in org-html-protect-char-alist,
only for mm-url-decode-entities to unescape them.
http://article.gmane.org/gmane.emacs.orgmode/94742 is somewhat related.
| [Prev in Thread] | Current Thread | [Next in Thread] |