Fix for Issue #2106

This is a fix for Issue #2106 {{content words="#"}} returns all content if the first html word is an image markdown that has single quote in its alt text

Changelog:
Updated downsize.js and added unit tests.

Notes:
Passed `grunt validate`

Reference 
https://github.com/TryGhost/Ghost/issues/2106