deal with '\n'

insert '\n' before '<' but not insert meaningless '\n'