diff options
Diffstat (limited to 'pandoc-iri')
-rwxr-xr-x | pandoc-iri | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,7 +7,7 @@ use warnings; use strict; use Pandoc::Filter 0.05; -use Pandoc::Elements; +use Pandoc::Elements 0.16; use URI; use URI::Escape; @@ -23,6 +23,7 @@ pandoc_filter( sub link_normalize { my $self = shift; return [ Link( + attributes {}, $self->content, [ pp_uri($self->target->[0]) => '' ] )] |