This change fixes issue #1.

But it might break when pandoc is older than 1.10.1.