improve html line wrapping