In addition we added a workaround for <sub> tags. This tag is preceded by a newline the generates a gap.