style: Fix trailing whitespace in homepage script

This commit is contained in:
Paul Gauthier (aider) 2025-03-31 11:42:47 +13:00
parent fc6a05ced6
commit d5a34dcbc5

View file

@ -464,7 +464,7 @@ def get_testimonials_js():
author_parts = full_line.split("— [") author_parts = full_line.split("— [")
if len(author_parts) > 1: if len(author_parts) > 1:
author = author_parts[1].split("]")[0].strip() author = author_parts[1].split("]")[0].strip()
# Extract the link if it exists # Extract the link if it exists
link_parts = full_line.split("](") link_parts = full_line.split("](")
if len(link_parts) > 1: if len(link_parts) > 1:
@ -474,7 +474,7 @@ def get_testimonials_js():
author_parts = full_line.split(" - [") author_parts = full_line.split(" - [")
if len(author_parts) > 1: if len(author_parts) > 1:
author = author_parts[1].split("]")[0].strip() author = author_parts[1].split("]")[0].strip()
# Extract the link if it exists # Extract the link if it exists
link_parts = full_line.split("](") link_parts = full_line.split("](")
if len(link_parts) > 1: if len(link_parts) > 1: