emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML export > Bold and italic links
@ 2011-03-21  7:31 Francesco Pizzolante
  2011-04-01 13:19 ` Michael Brand
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Pizzolante @ 2011-03-21  7:31 UTC (permalink / raw)
  To: mailing-list-org-mode

Hi,

Exporting the following links:

--8<---------------cut here---------------start------------->8---
Exporting a [[http://www.google.com][*bold link*]].
Exporting a *[[http://www.google.com][bold link]]*.

Exporting an [[http://www.google.com][/italic link/]].
Exporting an /[[http://www.google.com][italic link]]/.
--8<---------------cut here---------------end--------------->8---

Gives the following HTML code:

--8<---------------cut here---------------start------------->8---
<p>
Exporting a <a href="http://www.google.com"><b>bold link</b></a>.
Exporting a *<a href="http://www.google.com">bold link</a>*.
</p>
<p>
Exporting a <a href="http://www.google.com"><i>bold link</i></a>.
Exporting a /<a href="http://www.google.com">bold link</a>/.
</p>
--8<---------------cut here---------------end--------------->8---

I Would expect the following code:

--8<---------------cut here---------------start------------->8---
<p>
Exporting a <a href="http://www.google.com"><b>bold link</b></a>.
Exporting a <b><a href="http://www.google.com">bold link</a></b>.
</p>
<p>
Exporting a <a href="http://www.google.com"><i>bold link</i></a>.
Exporting a <i><a href="http://www.google.com">bold link</a></i>.
</p>
--8<---------------cut here---------------end--------------->8---

As you can see, the first option (setting the bold and italic symbols *into*
the link) works, while the second one (setting the bold and italic symbols
*outside* the links) does not work.

I think both options should work. At least the second one was working last
week.

Thanks.

Francesco

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

* Re: HTML export > Bold and italic links
  2011-03-21  7:31 HTML export > Bold and italic links Francesco Pizzolante
@ 2011-04-01 13:19 ` Michael Brand
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Brand @ 2011-04-01 13:19 UTC (permalink / raw)
  To: Francesco Pizzolante, Org Mode

Hi Francesco, hi all

Almost a year ago I started a discussion about export of emphasized
link and tried out a solution for HTML and DocBook. My question about
if and why in my opinion my solution collides with a code comment is
still open, just like the corresponding item `INCONSISTENCY export of
emphasized link' on the issue tracker
http://orgmode.org/worg/org-issues.html

The discussion started here
http://thread.gmane.org/gmane.emacs.orgmode/25811

Michael


On Mon, Mar 21, 2011 at 08:31, Francesco Pizzolante
<fpz@missioncriticalit.com> wrote:
> Hi,
>
> Exporting the following links:
>
> --8<---------------cut here---------------start------------->8---
> Exporting a [[http://www.google.com][*bold link*]].
> Exporting a *[[http://www.google.com][bold link]]*.
>
> Exporting an [[http://www.google.com][/italic link/]].
> Exporting an /[[http://www.google.com][italic link]]/.
> --8<---------------cut here---------------end--------------->8---
>
> Gives the following HTML code:
>
> --8<---------------cut here---------------start------------->8---
> <p>
> Exporting a <a href="http://www.google.com"><b>bold link</b></a>.
> Exporting a *<a href="http://www.google.com">bold link</a>*.
> </p>
> <p>
> Exporting a <a href="http://www.google.com"><i>bold link</i></a>.
> Exporting a /<a href="http://www.google.com">bold link</a>/.
> </p>
> --8<---------------cut here---------------end--------------->8---
>
> I Would expect the following code:
>
> --8<---------------cut here---------------start------------->8---
> <p>
> Exporting a <a href="http://www.google.com"><b>bold link</b></a>.
> Exporting a <b><a href="http://www.google.com">bold link</a></b>.
> </p>
> <p>
> Exporting a <a href="http://www.google.com"><i>bold link</i></a>.
> Exporting a <i><a href="http://www.google.com">bold link</a></i>.
> </p>
> --8<---------------cut here---------------end--------------->8---
>
> As you can see, the first option (setting the bold and italic symbols *into*
> the link) works, while the second one (setting the bold and italic symbols
> *outside* the links) does not work.
>
> I think both options should work. At least the second one was working last
> week.
>
> Thanks.
>
> Francesco

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

end of thread, other threads:[~2011-04-01 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21  7:31 HTML export > Bold and italic links Francesco Pizzolante
2011-04-01 13:19 ` Michael Brand

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