JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
don't print parse errors by default
authorJason Woofenden <jason@jasonwoof.com>
Thu, 21 Jan 2016 20:35:43 +0000 (15:35 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 21 Jan 2016 20:35:43 +0000 (15:35 -0500)
parse-html.coffee

index a6d501f..362240f 100644 (file)
@@ -657,8 +657,6 @@ parse_html = (args_html, args = {}) ->
        parse_error = ->
                if args.error_cb?
                        args.error_cb cur
-               else
-                       console.log "Parse error at character #{cur} of #{txt.length}"
                return
 
        # http://www.w3.org/TR/html5/syntax.html#push-onto-the-list-of-active-formatting-elements