Skip to content

Commit

Permalink
fix(semicolon): Remove blanket removal of semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
flooie committed Sep 10, 2024
1 parent 5340a32 commit 03dc445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juriscraper/lib/string_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def clean_string(s):
)

# Get rid of weird punctuation
s = s.replace("*", "").replace("#", "").replace(";", "")
s = s.replace("*", "").replace("#", "")

# Strip bad stuff from the end of lines. Python's strip fails here because
# we don't know the order of the various punctuation items to be stripped.
Expand Down

0 comments on commit 03dc445

Please sign in to comment.