From mboxrd@z Thu Jan 1 00:00:00 1970 From: "T. V. Raman" Subject: Org: HTML export breaks when you have %20 in the URL: Date: Sat, 6 Aug 2011 16:38:07 -0700 Message-ID: <20029.53343.783468.25896@gargle.gargle.HOWL> Reply-To: tv.raman.tv@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpqRc-0003Hk-8i for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 19:38:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpqRb-000112-1M for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 19:38:16 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:46117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpqRa-00010w-Pq for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 19:38:15 -0400 Received: by pzk36 with SMTP id 36so67592pzk.17 for ; Sat, 06 Aug 2011 16:38:12 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Org export to html when exporting image links fails --- if you have %20 (url-encoded space) in the URL. The anchor around the img link gets broken. Here is an example: #+ATTR_HTML: alt="Waiting to leave for White Plains" align="center" height="384" [[http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/AAAAAAAACws/F0fdPijBcRE/TVJA%2520015.jpg]] If you translate the above to html through org export you get this broken markup:

[[http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/AAAAAAAACws/F0fdPijBcWaiting to leave for White PlainsTVJA%2520015.jpg][http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/AAAAAAAACws/F0fdPijBcRE/TVJA%2520015.jpg]]

Note that we didn't get a well-formed .. wrapping the image url. -- Best Regards, --raman