netcarver/textile — Issue #47: span() regexp misses tail delimiter
Author: rwetzlmayr
Created: 2012-02-10 07:27:00+00:00
State: open

# Input:

`

*foo*

`

# Expected output:

`

foo

`

# Actual output:

`

*foo*

`

# Proposed fix:

Add opening angle brackets to the "tail" part of the regexp used in span() to launch fSpan().

See https://github.com/rwetzlmayr/textile/commit/76171963dff02a66fb28005fbf75206800b42f48

*Needs testing.*

Related discussion at http://forum.textpattern.com/viewtopic.php?id=37559 and http://processwire.com/talk/topic/646-module-textile-text-formatter/page__st__20__p__7770#entry7770