Browse Source

null check for notes in markdown parser (#253)

embed
Hakim El Hattab 12 years ago
parent
commit
332ce86c3a
  1. 4
      plugin/markdown/markdown.js

4
plugin/markdown/markdown.js

@ -29,7 +29,9 @@
section.innerHTML = (new Showdown.converter()).makeHtml(text); section.innerHTML = (new Showdown.converter()).makeHtml(text);
section.appendChild( notes ); if( notes ) {
section.appendChild( notes );
}
} }
})(); })();
Loading…
Cancel
Save