[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Bold links not working

From: Daniel Clemente
Subject: [Orgmode] Bold links not working
Date: Mon, 13 Apr 2009 03:45:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

  With org-mode 6.25trans from git from right now, I get this output:

A *<a href="#destination">bold link</a>*, a <strong>bold word</strong>.

  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 
- "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 

-- Daniel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]