Skip to content
Snippets Groups Projects
Commit 4009f260 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

avoid stripping out notes when parsing markdown (closes #253)

parent 3924878b
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
for( var i = 0, len = sections.length; i < len; i++ ) {
var section = sections[i];
var notes = section.querySelector( 'aside.notes' );
var template = section.querySelector( 'script' );
......@@ -27,6 +28,8 @@
}
section.innerHTML = (new Showdown.converter()).makeHtml(text);
section.appendChild( notes );
}
})();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment