mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Remove em elements from code blocks.
This commit is contained in:
@@ -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.
|
||||
'---',
|
||||
|
||||
Reference in New Issue
Block a user