modify plugins/Subst.hs to make it work with latest version of pandoc
Merge pull request #358 from tianyicui/subst_plugin

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