Update Pandoc.php
Merge pull request #7 from animir/patch-1

fix exception message when check input formats