Tweak inline image styling
Fix html parsing errors