Add more sanitization  and escaping.
Merge pull request #16 from panda-os/postmedia

Add more sanitization and escaping.