* Org: HTML export breaks when you have %20 in the URL:
@ 2011-08-06 23:38 T. V. Raman
0 siblings, 0 replies; only message in thread
From: T. V. Raman @ 2011-08-06 23:38 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-06 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-06 23:38 Org: HTML export breaks when you have %20 in the URL: T. V. Raman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).