From: Jason Woofenden Date: Thu, 21 Jan 2016 20:35:43 +0000 (-0500) Subject: don't print parse errors by default X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=commitdiff_plain;h=71cc53897f25e7f7685a0bc1c7182554ca736c73 don't print parse errors by default --- diff --git a/parse-html.coffee b/parse-html.coffee index a6d501f..362240f 100644 --- a/parse-html.coffee +++ b/parse-html.coffee @@ -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