diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-03-30 11:59:02 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-03-30 11:59:02 +0200 |
commit | c65cb773b6025c32a7980aac8da34b48948cf658 (patch) | |
tree | 67c6768d69a66f4fcf8feb4074535a393aa7c0bf /pandoc-iri | |
parent | 77afc93b17ebab9161ba2bd1389566492abe185d (diff) |
Fix support Pandoc 1.16 document model.
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]) => '' ] )] |