Remove em elements from code blocks.

This commit is contained in:
John-David Dalton
2016-08-07 14:14:23 -07:00
parent 71be34859f
commit 5f244d3c31

View File

@@ -46,6 +46,11 @@ function build(type) {
}
});
$('h3 code em').parent().each(function() {
var $code = $(this);
$code.html($code.html().replace(/<\/?em>/g, '_'));
});
var html = [
// Append YAML front matter.
'---',