Skip Menu |
 

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

Report information
The Basics
Id: 2171
Status: open
Priority: 0/
Queue: Text-WikiFormat

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: let [http://foo.com] make a link to foo.com, not a node called that
Download (untitled) / with headers
text/plain 551b
Allow for real URI's to be embedded, as in [http://perlmonks.com/index.pl?node=ybiC] [ftp://perlmonks.com|perlmonks ftp] ... Just steal $RE{URI}{-keep} from use Regexp::Common; and modify make_html_link like so sub make_html_link { my ($link, $opts) = @_; $opts ||= {}; my $title; ($link, $title) = split(/\|/, $link, 2) if $opts->{extended}; $title ||= $link; $link = uri_escape( $link ) unless $link =~ /^$RE{URI}{-keep}\z/; my $prefix = $opts->{prefix} || ''; return qq|<a href="$prefix$link">$title</a>|; }
Download (untitled) / with headers
text/plain 104b
This issue should be closed. It works in 0.78, as demonstrated by the patch attached to RT issue #4700.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.