Fix wrapping with different styles.