JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
don't print parse errors by default
[peach-html5-editor.git] / 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