added a error handler to markdown to prevent failing when there are DOM errors
added a error handler to markdown to prevent failing when there are DOM errors

MadeHQ/silverstripe-markdown,MadeHQ/silverstripe-markdown