Fixes whitespace when formatting links
This commit is contained in:
parent
a236163e67
commit
5bfa09e411
|
@ -155,7 +155,7 @@ def format_links(content):
|
||||||
"""detect and format links"""
|
"""detect and format links"""
|
||||||
validator = URLValidator()
|
validator = URLValidator()
|
||||||
formatted_content = ""
|
formatted_content = ""
|
||||||
split_content = content.split()
|
split_content = content.split(" ")
|
||||||
|
|
||||||
for index, potential_link in enumerate(split_content):
|
for index, potential_link in enumerate(split_content):
|
||||||
wrapped = _wrapped(potential_link)
|
wrapped = _wrapped(potential_link)
|
||||||
|
|
Loading…
Reference in New Issue