style-based line break removal