From: Daniel Clemente <n142857@gmail.com>
To: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Bold links not working
Date: Mon, 13 Apr 2009 03:45:01 +0200 [thread overview]
Message-ID: <877i1pcoo2.fsf@gmail.com> (raw)
With org-mode 6.25trans from git from right now, I get this output:
<p>
A *<a href="#destination">bold link</a>*, a <strong>bold word</strong>.
</p>
From this input:
A *[[destination][bold link]]*, a *bold word*.
Both links are however correctly hightlighted with a bold face.
At the moment I don't know if this is a regression or did never work before.
I have seen that [[destination][*bold link*]] works, but writing *some words and a [[d][bold]] link* is an easier syntax than *some bold words* [[d][*and a bold link*]].
The problem seeems to be in org-html-expand. It is breaking the line in these parts:
- "A *"
- "[[destination][bold link]]"
- "*, a *bold word*."
…and calling org-html-do-expand on each. But the first part alone does not activate bold because it doesn't match org-emph-re.
What I don't know is how org-html-do-expand could receive the full unbroken string so that it can detect the first bold and yet can't be fooled by asterisks inside the link, as in *[[de][oops* broken]] (this matches org-emph-re).
-- Daniel
next reply other threads:[~2009-04-13 1:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 1:45 Daniel Clemente [this message]
2009-04-15 7:20 ` Bold links not working Carsten Dominik
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=877i1pcoo2.fsf@gmail.com \
--to=n142857@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).