Commit e3bb4d30 authored by Mauro's avatar Mauro

previewer.js properly check content

parent 9fc20fcf
......@@ -115,7 +115,7 @@ class Previewer {
async preview(content, stylesheets, renderTo) {
if (!content) {
if (typeof content === undefined || content === null) {
content = this.wrapContent();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment