diff --git a/recipes/business_standard.recipe b/recipes/business_standard.recipe index 48d8c57c51..3d546002c4 100644 --- a/recipes/business_standard.recipe +++ b/recipes/business_standard.recipe @@ -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 diff --git a/recipes/business_standard_print.recipe b/recipes/business_standard_print.recipe index 10fe56a0e2..e30be98bfc 100644 --- a/recipes/business_standard_print.recipe +++ b/recipes/business_standard_print.recipe @@ -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