diff options
-rw-r--r-- | js/reader.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js index ff7c3e3..64c3404 100644 --- a/js/reader.js +++ b/js/reader.js @@ -714,6 +714,10 @@ const Reader = { $(c.document).find("p") .filter((i, e) => { if ($(e).text().length >= MIN_LENGTH_TO_JUSTIFY) return e; }) .css("text-align", "justify"); + + /* embedded styles may conflict with our font sizes, etc */ + $(c.document).find("p, span, em, strong, body") + .attr("class", ""); }); }); |