fixed html corruption (missing linefeeds)