extended transformation with line-breaking