mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Remove more markymark meta data.
This commit is contained in:
@@ -15,14 +15,13 @@ function build(type) {
|
|||||||
$header = $('h1').first().remove(),
|
$header = $('h1').first().remove(),
|
||||||
version = _.trim($header.find('span').first().text());
|
version = _.trim($header.find('span').first().text());
|
||||||
|
|
||||||
$('h4').each(function() {
|
$('[id^="user-content-"]')
|
||||||
$(this)
|
.attr('class', null)
|
||||||
.attr('class', null)
|
.attr('id', null);
|
||||||
.attr('id', null)
|
|
||||||
.find('a').each(function() {
|
$(':header > a').each(function() {
|
||||||
var $this = $(this);
|
var $a = $(this);
|
||||||
$this.replaceWith($this.text());
|
$a.replaceWith($a.html());
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var html = $.html().replace(/(<)!--\s*|\s*--(>)/g, '$1$2');
|
var html = $.html().replace(/(<)!--\s*|\s*--(>)/g, '$1$2');
|
||||||
|
|||||||
Reference in New Issue
Block a user