Avoid erroneous normalization of bracket link parts
commitbc607a9af46095035b1c0271b73d61ba4d6608d6
authorDavid Maus <dmaus@ictsoc.de>
Sun, 11 Dec 2011 09:53:14 +0000 (11 10:53 +0100)
committerDavid Maus <dmaus@ictsoc.de>
Sun, 11 Dec 2011 09:53:14 +0000 (11 10:53 +0100)
treefde40348571f83f27c89f511bd990e7d7d96a735
parentebd450a170d9eb8a921fcfa38a685eca7eec4017
Avoid erroneous normalization of bracket link parts

* org-exp.el (org-export-normalize-links): Mark bracket links before
normalization to avoid erroneous normalization of bracket link parts.

This fixes a bug reported by M. Bauer at
<http://thread.gmane.org/gmane.emacs.orgmode/49756> and allows proper
normalization of bracket links with a link in the query part, e.g.

[[http://example.tld?q=http://example.tld][Example]]
lisp/org-exp.el