From 93dcf1a6cf2c10327664e1c6ca818276b303f60f Mon Sep 17 00:00:00 2001 From: unkn0wn <51942695+unkn0w7n@users.noreply.github.com> Date: Mon, 12 May 2025 11:37:14 +0530 Subject: [PATCH 1/2] Update business_standard.recipe --- recipes/business_standard.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From a6b5086bca8325f7498586df3e9905dee6bda8aa Mon Sep 17 00:00:00 2001 From: unkn0wn <51942695+unkn0w7n@users.noreply.github.com> Date: Mon, 12 May 2025 11:38:14 +0530 Subject: [PATCH 2/2] Update business_standard_print.recipe --- recipes/business_standard_print.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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