mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 11:57: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 = [
|
var html = [
|
||||||
// Append YAML front matter.
|
// Append YAML front matter.
|
||||||
'---',
|
'---',
|
||||||
|
|||||||
Reference in New Issue
Block a user