Browse Source

null check for notes in markdown parser (#253)

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

2
plugin/markdown/markdown.js

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