Update parser.go

Parse function can set HTMLMode.