Subject: | Links wrapped with italics do not render properly |
This is perl, v5.8.8, Text::WikiCreole v0.05
//[[http://my.book.com/|My Book Title]]// is rendered as
<em>[[http:</em>my.book.com/|My Book Title]]<em></em>
While the WikiCreole example shows that proper rendering of markup
_inside_ the link is required, but doesn't show that a link embedded in
markup as an example, it should still be handled gracefully. (It also
creates inconsistent behavior, as using ** or other markup around the
link works fine.)
I worked around this temporarily with this modification to the 'em'
"chunk"...
stops => '\/\/.*?(?<!http:)\/\/',
But that's not a good universal fix, as it only addresses the one
protocol, as the negative look-behind is fixed-width. The negative
look-ahead didn't work here, thought it might with some finagling.
Thanks. (I'd give it further thought, but I don't have a lot of time to
figure out exactly how your module works.)