From ba5473babbb75dd9f379ca00fa280162546a1ac3 Mon Sep 17 00:00:00 2001 From: David Grigg Date: Fri, 15 Dec 2023 14:36:14 +1100 Subject: [PATCH] Fixed duplicate function name --- se/formatting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/se/formatting.py b/se/formatting.py index f0b86782..91a64bd8 100644 --- a/se/formatting.py +++ b/se/formatting.py @@ -1277,7 +1277,7 @@ def check_badly_formed(text) -> bool: return (right_angle_index < left_angle_index) -def remove_tags(text: str) -> str: +def get_untagged(text: str) -> str: """ Remove HTML tags from a string. @@ -1318,7 +1318,7 @@ def process_tagged_string(text: str) -> str: A titlecased version of the tagged input string """ - untagged = remove_tags(text) + untagged = get_untagged(text) cased = titlecase(untagged) tagged_index = 0 untagged_index = 0