From 5c33255b6ad3906c5c4487f29b04283d84275aaf Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 1 Jun 2023 10:12:15 -0500 Subject: fix: user link spacing --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 56553a2..c45312d 100644 --- a/index.php +++ b/index.php @@ -142,7 +142,7 @@ function get_stories($api_url, $inline_title) { $html = '
' . $sub_response['title'] . ''; $html .= '

by '; + $html .= ' href="/user/'. $sub_response['by'] . '">'; $html .= $sub_response['by'] . ' | ' . $sub_response['score']; $html .= ' points

'; $html_output .= $html; @@ -187,7 +187,7 @@ function get_user(string $api_url, string $inline_title) { $html = '
' . $sub_response['title'] . ''; $html .= '

by '; + $html .= ' href="/user/'. $sub_response['by'] . '">'; $html .= $sub_response['by'] . ' | ' . $sub_response['score']; $html .= ' points

'; $html_output .= $html; -- cgit v1.2.3-70-g09d2