emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Another HTML Export Problem
@ 2011-03-16 11:51 David Maus
  2011-03-17 14:34 ` Eric S Fraga
  0 siblings, 1 reply; 11+ messages in thread
From: David Maus @ 2011-03-16 11:51 UTC (permalink / raw)
  To: bzg; +Cc: emacs-orgmode

Hi,

Bastien's patch looks good and/but introduces a regression: The commit
that started all this trobule --
163cd58ffd6461c98a96b1b63a3cf082b2825a52 -- fixed a problem with
exporting links with a description that contained an ISO Date.  The
current problem can be located in `org-html-do-expand' which uses the
regexp "@<\\([^&]*\\)>" to remove protection from elements.
Obviously this function was never meant to deal with links :|

I think we should accept the regression, restore the old behaviour and
find a better solution for the problem I tried to solve in the first
place.

Best,
  -- David

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Another HTML Export Problem
@ 2011-03-16  0:39 Scott Randby
  2011-03-16  1:31 ` Bastien
  0 siblings, 1 reply; 11+ messages in thread
From: Scott Randby @ 2011-03-16  0:39 UTC (permalink / raw)
  To: emacs-orgmode

Some links are not exporting properly with org release_7.5.52.g0dc16. It
seems that any link that contains "&" does not export correctly. Take
the four links given below.

[[http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=xetex][XeTeX]]

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=xetex

[[http://www.casio.com/products/Calculators_&_Dictionaries/][Casio]]

http://www.casio.com/products/Calculators_&_Dictionaries/


These links are incorrectly exported by version 7.5 as:

<p>
@&lt;a
href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;amp;id=xetex"&gt;XeTeX</a>
</p>

<p>
@&lt;a
href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;amp;id=xetex"&gt;http://scripts.sil.org/cms/scripts/page.php?site<sub>id</sub>=nrsi&amp;amp;id=xetex</a>
</p>

<p>
@&lt;a
href="http://www.casio.com/products/Calculators_&amp;amp;_Dictionaries/"&gt;Casio</a>
</p>

<p>
@&lt;a
href="http://www.casio.com/products/Calculators_&amp;amp;_Dictionaries/"&gt;http://www.casio.com/products/Calculators<sub>&amp</sub>;amp;<sub>Dictionaries</sub>/</a>
</p>

With version 7.4, the links are correctly exported as:

<p>
<a
href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=xetex">XeTeX</a>
</p>

<p>
<a
href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=xetex">http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=xetex</a>
</p>

<p>
<a
href="http://www.casio.com/products/Calculators_&amp;_Dictionaries/">Casio</a>
</p>

<p>
<a
href="http://www.casio.com/products/Calculators_&amp;_Dictionaries/">http://www.casio.com/products/Calculators_&amp;_Dictionaries/</a>
</p>

Scott Randby

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-21 12:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 11:51 Another HTML Export Problem David Maus
2011-03-17 14:34 ` Eric S Fraga
2011-03-20 11:21   ` David Maus
2011-03-20 19:44     ` Eric S Fraga
2011-03-21  1:46     ` Bernt Hansen
2011-03-21  5:46       ` David Maus
2011-03-21 12:49         ` Bernt Hansen
  -- strict thread matches above, loose matches on Subject: below --
2011-03-16  0:39 Scott Randby
2011-03-16  1:31 ` Bastien
2011-03-17  8:07   ` Bastien
2011-03-17 14:45     ` Scott Randby

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).