mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/unkn0w7n/calibre
This commit is contained in:
commit
bd7dd5c4ed
@ -159,6 +159,7 @@ class BusinessStandard(BasicNewsRecipe):
|
||||
for x in soup.findAll(attrs={attr: True}):
|
||||
del x[attr]
|
||||
for br in soup.findAll('small', attrs={'class': 'brtag'}):
|
||||
br.name = 'br'
|
||||
br.clear()
|
||||
brtag = soup.new_tag('br')
|
||||
br.replace_with(brtag)
|
||||
return soup
|
||||
|
@ -172,6 +172,7 @@ class BusinessStandardPrint(BasicNewsRecipe):
|
||||
for x in soup.findAll(attrs={attr: True}):
|
||||
del x[attr]
|
||||
for br in soup.findAll('small', attrs={'class': 'brtag'}):
|
||||
br.name = 'br'
|
||||
br.clear()
|
||||
brtag = soup.new_tag('br')
|
||||
br.replace_with(brtag)
|
||||
return soup
|
||||
|
Loading…
x
Reference in New Issue
Block a user