0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 11:52:44 +00:00

Fixed renderer crashing with malformed html on load

This commit is contained in:
Scott Tolksdorf
2016-12-25 23:44:24 -05:00
parent 75f0a9f755
commit 9fd7586726
3 changed files with 8 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ const EditPage = React.createClass({
isSaving : false,
isPending : false,
errors : null,
htmlErrors : [],
htmlErrors : Markdown.validate(this.props.brew.text),
lastUpdated : this.props.brew.updatedAt
};
},