diff options
Diffstat (limited to 'simplyread.js')
-rwxr-xr-x | simplyread.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/simplyread.js b/simplyread.js index ff2675e..45c9570 100755 --- a/simplyread.js +++ b/simplyread.js @@ -62,6 +62,7 @@ function simplyread() fresh.innerHTML = fresh.innerHTML.replace(/<\/?font[^>]*>/g, ""); fresh.innerHTML = fresh.innerHTML.replace(/style="[^"]*"/g, ""); fresh.innerHTML = fresh.innerHTML.replace(/<\/?a[^>]*>/g, ""); + fresh.innerHTML = fresh.innerHTML.replace(/<p/g, "<p style=\"margin: 1em 0em;\""); for (var i = 0; i < doc.styleSheets.length; i++) doc.styleSheets[i].disabled = true; |