Browse Source

* strip '{{'/'}}' in _parse_include

master
Zubrikhin Alexey 10 years ago
parent
commit
e606285aae
  1. 3
      lib/Text/Dokuwiki/Parser.pm

3
lib/Text/Dokuwiki/Parser.pm

@ -119,6 +119,9 @@ sub _parse_link {
sub _parse_include { sub _parse_include {
my ($self, $content) = @_; my ($self, $content) = @_;
$content =~ s/^{{//o;
$content =~ s/}}$//o;
if ($content =~ m|^([a-z]+)>(.*)|oi) { if ($content =~ m|^([a-z]+)>(.*)|oi) {
... ...
} }

Loading…
Cancel
Save