Subject: | Syntax with markup |
Date: | Sun, 25 May 2014 05:24:33 +0300 |
To: | bug-Org-Parser [...] rt.cpan.org |
From: | Bernt Budde <bernt.budde [...] gmail.com> |
Hi!
First, again thanks for a cool module!
I found a minor problem, which might depend on different Emacs versions?
Parentheses seems to be OK with markup for bold etc. E.g.:
** In this Headline, _this is underlined_ and (*this will be bold*)
This trivial change seems to work in Org/Document.pm:
- (?<markup_start> (?:(?<=\s)|\A)
+ (?<markup_start> (?:(?<=[\s\(])|\A)
I'll look into this a bit more and will let you know if I find anything
else. (The comment for "markup_end" claims that an "!" stops accepting
markup, but it works for me in Emacs.)
/Bernt Budde
PS
I use standard Emacs (24.3.1) on Ubuntu 14.04.
DS
PPS
When you export to HTML, this line:
* Org::Parser limitations: _underlined_ ok, but (_should also be u-lined_)
Results in this:
<li><a href="#sec-4">4 Org::Parser limitations: <span
style="text-decoration:underline;">underlined</span> ok, but (<span
style="text-decoration:underline;">should also be u-lined</span>)</a>
I get a similar result for this: *foo*!
DS