Fix whitespace issues
Don’t add pdf src to output img tag

Fixes #8.
Merge pull request #9 from andylolz/8-src-bug

Don’t add pdf src to output img tag