summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-01-19 16:44:23 +0300
committerAndrew Dolgov <[email protected]>2021-01-19 16:44:23 +0300
commit31d1e8fefd86f8f9e1b91032726ea169950ff1c7 (patch)
tree5e7b27fd228788a231712f4d152c26760e07224d /js/reader.js
parentfc354926bc0913501f805a7deb1cf66df16c46f9 (diff)
also strip styles off a elements
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 5fce76d..cc02b1e 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -462,7 +462,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, i, strong, b, body, div, big, small")
+ $(doc).find("a, p, span, em, i, strong, b, body, div, big, small")
.attr("class", "")
.css("color", "")
.css("background", "")