kaffa / textpattern

Automatically exported from code.google.com/p/textpattern
0 stars 0 forks source link

Textile parser doesn't parse bold inside emphasis or italics #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Textile syntax:
_*aaaa*_ 

Expected output: <p><em><strong>aaaa</strong></em></p>
Actual output: <p><em>*aaaa*</em></p>

This seems to work with the parser used here
http://www.textism.com/tools/textile/ and with the Ruby version.

Original issue reported on code.google.com by bogdan.g...@gmail.com on 13 Apr 2009 at 12:21

GoogleCodeExporter commented 8 years ago
This issue appears to be due to platform and/or PHP version (or even PCRE 
version).
More research regarding the cause of this problem, needs to occur.

An interim fix, is to:

FIND:
function fSpan($m)

ADD:
$content = $this->span($content);

BEFORE:
$out = ...

Original comment by intel352 on 21 May 2009 at 3:09

GoogleCodeExporter commented 8 years ago

Original comment by r.wetzlmayr on 24 Jun 2009 at 4:56

GoogleCodeExporter commented 8 years ago

Original comment by r.wetzlmayr on 24 Jun 2009 at 9:02

GoogleCodeExporter commented 8 years ago

Original comment by r.wetzlmayr on 24 Jun 2009 at 9:02

GoogleCodeExporter commented 8 years ago
There is a work-around for this in textile. 

Instead of _*aaaa*_ just us *_aaaa_*.

Original comment by netcarv...@gmail.com on 3 Jul 2010 at 1:44

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3400.

Original comment by stefdawson on 23 Sep 2010 at 8:43