From b9744691ba21e5113f8ae1ef74e7000b83d93c2c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Sep 2020 19:22:02 +0300 Subject: also strip classes from DIVs --- js/reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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", "") -- cgit v1.2.3