Skip Menu |

This queue is for tickets about the Text-WikiFormat CPAN distribution.

Report information
The Basics
Id: 27850
Status: resolved
Priority: 0/
Queue: Text-WikiFormat

Owner: Nobody in particular
Requestors: lalinsky [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: find_extended_links doesn't find absolute links on the start of a line
Date: Sun, 01 Jul 2007 09:56:02 +0200
To: bug-Text-WikiFormat [...]
From: Lukáš Lalinský <lalinsky [...]>
Download (untitled) / with headers
text/plain 507b
For example if you have text: ------------- A ------------- only the one that starts with A is converted to a link. The problem is in find_extended_links in this regex: $text =~ s!(\s+)(($schemas):\S+)!$1 . $tags->{link}->($2, $opts)!egi if $opts->{absolute_links}; The (\s+) should be probably changed to (^|\s+), or maybe to: $text =~ s!(?:^|\b)(($schemas):\S+)!$tags->{link}->($1, $opts)!egi if $opts->{absolute_links}; -Lukáš
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

This is now resolved in 0.80

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to