forked from 0x2620/oxjs
add some ;, remove print statement
This commit is contained in:
parent
925aa8d627
commit
3bb224a022
4 changed files with 8 additions and 8 deletions
|
|
@ -85,11 +85,11 @@ Ox.parseHTML = (function() {
|
|||
html = Ox.encodeHTML(html);
|
||||
html = Ox.parseURLs(html);
|
||||
html = Ox.parseEmailAddresses(html);
|
||||
Ox.print(html, 'matches', matches);
|
||||
//Ox.print('Ox.parseHTML', html, 'matches', matches);
|
||||
matches.forEach(function(match, i) {
|
||||
html = html.replace(new RegExp(tab + i + tab, 'gi'), match);
|
||||
});
|
||||
html = html.replace(/\n/g, '<br/>\n')
|
||||
html = html.replace(/\n/g, '<br/>\n');
|
||||
// close extra opening (and remove extra closing) tags
|
||||
// note: this converts '"' to '"'
|
||||
return Ox.element('<div>').html(html).html();
|
||||
|
|
@ -156,4 +156,4 @@ Ox.parseURLs = function(html) {
|
|||
);
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue