From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: link export confused when URL parameter is another URL Date: Thu, 21 Oct 2010 06:35:42 +0200 Message-ID: <87mxq888o1.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0789081413==" Return-path: Received: from [140.186.70.92] (port=58751 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8mt4-0004g3-O4 for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 00:36:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8mt2-0005pK-6I for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 00:36:21 -0400 Received: from mysql-slave-app3.mysql1.xlhost.de ([213.202.242.107]:58749 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8mt2-0005p7-1J for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 00:36:20 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Cook, Malcolm" Cc: "'emacs-orgmode@gnu.org'" --===============0789081413== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Oct_21_06:35:33_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Thu_Oct_21_06:35:33_2010-1 Content-Type: text/plain; charset=US-ASCII At Thu, 30 Sep 2010 15:17:00 -0500, Cook, Malcolm wrote: > > > If find that this orgtext > > [[http://www.foo.com/foo?URL=http://www.bar.com][test]] > > exports to html incorrectly as > > [[http://www.foo.com/foo?URL=[[http://www.bar.com][test][http://www.bar.com][test]]] > > using today's fresh git pull make install > > Any pointers? The problem here is that Org's (legacy) support for plain links (i.e. without square brackets) kicks in and transforms the fragment part to a normal square bracket link. My regexp-foo is not as it should be, but I am on this one to fix it; What we need to express in `org-export-normalize-link' is, that a plain link is something that looks like a hyperlink but not preceded directly by a square or angle bracket and not after a question mark followed by zero or more no-whitespace-characters. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Thu_Oct_21_06:35:33_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAky/wxUACgkQma24O1pEeObpvgEAgway5VH+CM1CyiIJpffsJBSp UZ5XjKg1ph5GJ9p5IY4BANyYmWFn/Pfa/1CjcVpPDus6MWGRwTmy+Byrzc3+pzx9 =pApa -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Oct_21_06:35:33_2010-1-- --===============0789081413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0789081413==--