Safely remove whitespace from underneath IMG elements. Fixes #1. Thanks, @florianbouvot