Fixed img tags broken since PHP 5.5 patch

This fixes the issue reported by emanule and fixed by Spuds.

Signed-off-by: jdarwood007