diff options
Diffstat (limited to 'js/reader.js')
-rw-r--r-- | js/reader.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js index e580a9e..84c965f 100644 --- a/js/reader.js +++ b/js/reader.js @@ -552,9 +552,19 @@ const Reader = { .css("font-family", "inherit") .css("font-size", "inherit") .css("color", "") + .css("border", "none ! important") .css("background", "") .css("background-color", ""); + // same as above except for allowed font-size + $(doc).find("h1, h1, h3, h4, h5") + .attr("class", "") + .css("font-family", "inherit") + .css("color", "") + .css("border", "none ! important") + .css("background", "") + .css("background-color", ""); + if (typeof Reader.hyphenateHTML != "undefined") { $(doc).find('p').each((i,p) => { p = $(p); |