summaryrefslogtreecommitdiff
path: root/pandoc-iri
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc-iri')
-rwxr-xr-xpandoc-iri3
1 files changed, 2 insertions, 1 deletions
diff --git a/pandoc-iri b/pandoc-iri
index a65cd80..a93c37f 100755
--- a/pandoc-iri
+++ b/pandoc-iri
@@ -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]) => '' ]
)]