TemplateForensics: improved the detection of elements that preserve new lines