Fixed a newline bug with extended iri math printing.