emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Org: HTML export breaks when you have %20 in the URL:


From: T. V. Raman
Subject: [O] Org: HTML export breaks when you have %20 in the URL:
Date: Sat, 6 Aug 2011 16:38:07 -0700

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:
<p>
[[http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/AAAAAAAACws/F0fdPijBc<img 
src="http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/AAAAAAAACws/F0fdPijBcRE/TVJA 
015.jpg" alt="Waiting to leave for White Plains" align="center"  height="384" 
/>TVJA%2520015.jpg][http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/AAAAAAAACws/F0fdPijBcRE/TVJA%2520015.jpg]]
</p>

Note that we didn't get a well-formed <a href="...">..</a>
wrapping the image url.

-- 
Best Regards,
--raman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]