HTML markup fix for text wrapping