summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-27 19:22:02 +0300
committerAndrew Dolgov <[email protected]>2020-09-27 19:22:02 +0300
commitb9744691ba21e5113f8ae1ef74e7000b83d93c2c (patch)
treec93af00a6017ccd6c70699fce74532f973fa907a /js/reader.js
parent2df368d49228ed4529a06501fdc5c2ce8eb631d5 (diff)
also strip classes from DIVs
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js2
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", "")