From 291014a7453e9645d263b3da9f8c4c749ad9bde3 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sat, 9 May 2015 20:06:48 +1000 Subject: [PATCH] * Text::Dokuwiki::Parser : fix regex mod --- lib/Text/Dokuwiki/Parser.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Text/Dokuwiki/Parser.pm b/lib/Text/Dokuwiki/Parser.pm index 3cece54..e2fa3a0 100644 --- a/lib/Text/Dokuwiki/Parser.pm +++ b/lib/Text/Dokuwiki/Parser.pm @@ -110,7 +110,7 @@ sub _parse_link { } unless ($href =~ m!^[a-z]+://!io) { - $href =~ s{:}{/}oi; + $href =~ s{:}{/}go; } return [a => {href => $href}, @text]; @@ -144,7 +144,7 @@ sub _parse_include { '' >ioe; - $src =~ s|:|/|o; + $src =~ s|:|/|go; $attrs{src} = $src; return [img => \%attrs];