|
|
@ -110,7 +110,7 @@ sub _parse_link { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
unless ($href =~ m!^[a-z]+://!io) { |
|
|
|
unless ($href =~ m!^[a-z]+://!io) { |
|
|
|
$href =~ s{:}{/}oi; |
|
|
|
$href =~ s{:}{/}go; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return [a => {href => $href}, @text]; |
|
|
|
return [a => {href => $href}, @text]; |
|
|
@ -144,7 +144,7 @@ sub _parse_include { |
|
|
|
'' |
|
|
|
'' |
|
|
|
>ioe; |
|
|
|
>ioe; |
|
|
|
|
|
|
|
|
|
|
|
$src =~ s|:|/|o; |
|
|
|
$src =~ s|:|/|go; |
|
|
|
$attrs{src} = $src; |
|
|
|
$attrs{src} = $src; |
|
|
|
|
|
|
|
|
|
|
|
return [img => \%attrs]; |
|
|
|
return [img => \%attrs]; |
|
|
|