mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-01 03:42:22 +00:00
Fixes whitespace when formatting links
This commit is contained in:
parent
a236163e67
commit
5bfa09e411
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue