Skip to content

Commit

Permalink
refactor: modifications to index algorithm
Browse files Browse the repository at this point in the history
Authored-by: Joshua Rose <[email protected]>
  • Loading branch information
H4ppy-04 committed May 27, 2023
1 parent 0f547c6 commit 6e8476a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urban.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def format_words_as_string_from_tag(
continue
else:
if " " in word:
subwords = word.split(" ", -1)
subwords = word.split(" ", word.count(" "))
for subword in subwords:
word = words_as_str.replace(
subword, colorama.Fore.BLUE + subword + colorama.Fore.RESET
Expand Down

0 comments on commit 6e8476a

Please sign in to comment.