aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-06-01 10:05:48 -0500
committerChristian Cleberg <hello@cleberg.net>2023-06-01 10:05:48 -0500
commitaa0739f782591acc54515e2b855c19a285f9b853 (patch)
treeac7d407cfb71afdff5f9951e7f179544680da9ba
parente12c262423808ea3c82dec3da2db1b2ff38a0b81 (diff)
downloadhn-aa0739f782591acc54515e2b855c19a285f9b853.tar.gz
hn-aa0739f782591acc54515e2b855c19a285f9b853.tar.bz2
hn-aa0739f782591acc54515e2b855c19a285f9b853.zip
fix: text spacing
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 37ac07a..a45b5ae 100644
--- a/index.php
+++ b/index.php
@@ -143,7 +143,7 @@ function get_stories($api_url, $inline_title) {
$html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a';
$html .= 'href="/user/'. $sub_response['by'] . '">';
$html .= $sub_response['by'] . ' | ' . $sub_response['score'];
- $html .= 'points</p></div>';
+ $html .= ' points</p></div>';
$html_output .= $html;
}
@@ -187,7 +187,7 @@ function get_user(string $api_url, string $inline_title) {
$html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a';
$html .= 'href="/user/'. $sub_response['by'] . '">';
$html .= $sub_response['by'] . ' | ' . $sub_response['score'];
- $html .= 'points</p></div>';
+ $html .= ' points</p></div>';
$html_output .= $html;
}
} else {