mirror of
https://github.com/kemayo/leech
synced 2025-12-14 20:34:50 +01:00
Better xenforo blockquote chrome removal
This commit is contained in:
parent
ffc6dccaac
commit
988368bb66
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ class XenForo(Site):
|
||||||
if "text-decoration: strikethrough" in tag['style']:
|
if "text-decoration: strikethrough" in tag['style']:
|
||||||
tag.wrap(self._new_tag('strike'))
|
tag.wrap(self._new_tag('strike'))
|
||||||
tag.unwrap()
|
tag.unwrap()
|
||||||
for tag in post.find_all(class_='quoteExpand'):
|
for tag in post.select('.quoteExpand, .bbCodeBlock-expandLink, .bbCodeBlock-shrinkLink'):
|
||||||
tag.decompose()
|
tag.decompose()
|
||||||
self._clean_spoilers(post, chapterid)
|
self._clean_spoilers(post, chapterid)
|
||||||
return post.prettify()
|
return post.prettify()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue