fixing html output on double lines.