html parse multiline fix