modify plugins/Subst.hs to make it work with latest version of pandoc