diff options
author | Andrew Dolgov <[email protected]> | 2022-04-04 19:23:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-04-04 19:24:01 +0300 |
commit | eb23321ccebacf9b755d64d1c537132fc21ed3ea (patch) | |
tree | badcb9970400806b1c4c6b323eab5e3febef8534 /js/reader.js | |
parent | 72b40a58caf7362af6d239e4e547c0f860217a88 (diff) |
filter styles from list elements, also filter line-height style
Diffstat (limited to 'js/reader.js')
-rw-r--r-- | js/reader.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js index f658bbe..0cb1410 100644 --- a/js/reader.js +++ b/js/reader.js @@ -569,10 +569,11 @@ const Reader = { $(doc).find("pre") .css("white-space", "pre-wrap"); - $(doc).find("a, p, span, em, i, strong, b, body, header, section, div, big, small, table, tr, td") + $(doc).find("a, p, span, em, i, strong, b, body, header, section, div, big, small, table, tr, td, ul, ol, li") .attr("class", "") .css("font-family", "inherit") .css("font-size", "inherit") + .css("line-height", "inherit") .css("color", "") .css("border", "none ! important") .css("background", "") |