mirror of
https://github.com/kemayo/leech
synced 2025-12-06 08:22:56 +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']:
|
||||
tag.wrap(self._new_tag('strike'))
|
||||
tag.unwrap()
|
||||
for tag in post.find_all(class_='quoteExpand'):
|
||||
for tag in post.select('.quoteExpand, .bbCodeBlock-expandLink, .bbCodeBlock-shrinkLink'):
|
||||
tag.decompose()
|
||||
self._clean_spoilers(post, chapterid)
|
||||
return post.prettify()
|
||||
|
|
|
|||
Loading…
Reference in a new issue