diff options
author | Andrew Dolgov <[email protected]> | 2020-09-27 19:22:02 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-27 19:22:02 +0300 |
commit | b9744691ba21e5113f8ae1ef74e7000b83d93c2c (patch) | |
tree | c93af00a6017ccd6c70699fce74532f973fa907a | |
parent | 2df368d49228ed4529a06501fdc5c2ce8eb631d5 (diff) |
also strip classes from DIVs
-rw-r--r-- | js/reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js index 99ff269..d2400a5 100644 --- a/js/reader.js +++ b/js/reader.js @@ -455,7 +455,7 @@ const Reader = { .filter((i, e) => { if ($(e).text().length >= MIN_LENGTH_TO_JUSTIFY) return e; }) .css("text-align", "justify"); - $(doc).find("p, span, em, strong, body") + $(doc).find("p, span, em, strong, body, div") .attr("class", "") .css("color", "") .css("background", "") |