avoid stripping out notes when parsing markdown (closes #253)
This commit is contained in:
parent
3924878ba1
commit
4009f2601e
|
@ -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 );
|
||||
}
|
||||
|
||||
})();
|
Loading…
Reference in New Issue