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

This commit is contained in:
Hakim El Hattab 2012-11-16 09:25:26 -05:00
parent 3924878ba1
commit 4009f2601e
1 changed files with 3 additions and 0 deletions

View File

@ -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 );
}
})();