This commit is contained in:
Kovid Goyal 2025-05-12 11:41:22 +05:30
commit bd7dd5c4ed
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 2 deletions

View File

@ -159,6 +159,7 @@ class BusinessStandard(BasicNewsRecipe):
for x in soup.findAll(attrs={attr: True}): for x in soup.findAll(attrs={attr: True}):
del x[attr] del x[attr]
for br in soup.findAll('small', attrs={'class': 'brtag'}): for br in soup.findAll('small', attrs={'class': 'brtag'}):
br.name = 'br'
br.clear() br.clear()
brtag = soup.new_tag('br')
br.replace_with(brtag)
return soup return soup

View File

@ -172,6 +172,7 @@ class BusinessStandardPrint(BasicNewsRecipe):
for x in soup.findAll(attrs={attr: True}): for x in soup.findAll(attrs={attr: True}):
del x[attr] del x[attr]
for br in soup.findAll('small', attrs={'class': 'brtag'}): for br in soup.findAll('small', attrs={'class': 'brtag'}):
br.name = 'br'
br.clear() br.clear()
brtag = soup.new_tag('br')
br.replace_with(brtag)
return soup return soup