emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: David Maus <maus.david@gmail.com>
Cc: bzg@altern.org, emacs-orgmode@gnu.org
Subject: Re: Re: Another HTML Export Problem
Date: Thu, 17 Mar 2011 14:34:52 +0000	[thread overview]
Message-ID: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <AANLkTikqxV7g1LCZ5=dKyZnN0kM1OFEvq-FrMKTK-v0v@mail.gmail.com> (David Maus's message of "Wed, 16 Mar 2011 12:51:40 +0100")

David Maus <maus.david@gmail.com> writes:

> 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 "@&lt;\\([^&]*\\)&gt;" 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
>

I don't know if this is the same problem but exporting, to HTML, the
following

#+begin_src org
[[http://petition.stopsoftwarepatents.eu/831004564935/][http://petition.stopsoftwarepatents.eu/banner/831004564935/ssp-362-60.gif]]
#+end_src

generates the following HTML:

--8<---------------cut here---------------start------------->8---
<a href="http://petition.stopsoftwarepatents.eu/831004564935/">@<img src="http://petition.stopsoftwarepatents.eu/banner/831004564935/ssp-362-60.gif"/></a>
--8<---------------cut here---------------end--------------->8---

Note the spurious "@" introduced before the =<img= tag.  This only seems
to be affecting my links to images, as far as I can tell.

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.74.g294dc)

  reply	other threads:[~2011-03-17 14:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 11:51 Another HTML Export Problem David Maus
2011-03-17 14:34 ` Eric S Fraga [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=maus.david@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).