html: avoid horizontal overflows, break-word and limit image width