diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/readability-0.1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/readability-0.1.js b/js/readability-0.1.js index aade9b2..3cbc6bf 100755 --- a/js/readability-0.1.js +++ b/js/readability-0.1.js @@ -188,7 +188,7 @@ function killDivs ( e ) { }
function killBreaks ( e ) {
- e.innerHTML = e.innerHTML.replace(/(<br\s*\/?>\s*){1,}/,'<br />');
+ e.innerHTML = e.innerHTML.replace(/(<br\s*\/?>(\s| ?)*){1,}/g,'<br />');
return e;
}
|