summaryrefslogtreecommitdiffhomepage
path: root/plugin/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/markdown')
-rw-r--r--plugin/markdown/markdown.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index 6331171..b1660a1 100644
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -29,7 +29,9 @@
section.innerHTML = (new Showdown.converter()).makeHtml(text);
- section.appendChild( notes );
+ if( notes ) {
+ section.appendChild( notes );
+ }
}
})(); \ No newline at end of file