Browse Source

* fancy fn ref

master
Zubrikhin Alexey 9 years ago
parent
commit
3b138cd4b9
  1. 4
      lib/Text/Dokuwiki/Render/Markdown.pm

4
lib/Text/Dokuwiki/Render/Markdown.pm

@ -91,13 +91,13 @@ sub img {
sub fn_ref { sub fn_ref {
my ($self, $attr, $content) = @_; my ($self, $attr, $content) = @_;
return "[^$content]"; return "[^fn$content]";
} }
sub footnote { sub footnote {
my ($self, $attrs, $content) = @_; my ($self, $attrs, $content) = @_;
return "[^$attrs->{number}]: " . $self->treewalk($content) . "\n"; return "[^fn$attrs->{number}]: " . $self->treewalk($content) . "\n";
} }
sub blockquote { sub blockquote {

Loading…
Cancel
Save