From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "T.F. Torrey" <tftorrey@tftorrey.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: New HTML exporter incorrect attributes
Date: Sat, 23 Feb 2013 00:18:56 +0100 [thread overview]
Message-ID: <87vc9khr8f.fsf@gmail.com> (raw)
In-Reply-To: <878v6g9eef.fsf@lapcat.tftorrey.com> (T. F. Torrey's message of "Fri, 22 Feb 2013 15:23:20 -0700")
Hello,
tftorrey@tftorrey.com (T.F. Torrey) writes:
> Where attributes have been assigned to an image in a paragraph, the new
> exporter applies those attributes to both the image and a following
> link.
You don't assign attributes to an image in a paragraph, you assign
attributes to the paragraph itself. For the time being, Org syntax
doesn't allow to specify attributes per link object.
As a consequence, attributes will be assigned to every link within the
paragraph. A hack could be implemented in ox-html.el so only image links
get these attributes, but it would be the same with multiple images
within the same paragraph.
A proper solution to the problem would be to slightly change link
syntax. Until then, you'll have to use workarounds (like, for example,
writing the other link in raw HTML syntax within an export snippet).
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-02-22 23:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 22:23 Bug: New HTML exporter incorrect attributes T.F. Torrey
2013-02-22 23:18 ` Nicolas Goaziou [this message]
2013-02-23 9:43 ` T.F. Torrey
2013-02-23 10:16 ` Nicolas Goaziou
2013-02-24 20:27 ` Samuel Wales
2013-02-25 8:23 ` Nicolas Goaziou
2013-02-25 10:55 ` T.F. Torrey
2013-02-25 13:49 ` Nicolas Goaziou
2013-02-25 13:57 ` Vincent Beffara
2013-02-25 14:03 ` Nicolas Goaziou
2013-02-25 20:51 ` T.F. Torrey
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vc9khr8f.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tftorrey@tftorrey.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.