Don't decode URI unless protocol is markdown-preview

Closes #57