Commit 5c33255b6a

5c33255b6ad3906c5c4487f29b04283d84275aaf

parent: f727585399

Unsigned

cmc <hello@cleberg.net> · 2023-06-01 15:12 UTC

fix: user link spacing

Layout: unified · split

index.php +2 −2
@@ -142,7 +142,7 @@ function get_stories($api_url, $inline_title) {
142142 $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>';
143143 $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">';
144144 $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a';
145 $html .= 'href="/user/'. $sub_response['by'] . '">';
145 $html .= ' href="/user/'. $sub_response['by'] . '">';
146146 $html .= $sub_response['by'] . '</a> | ' . $sub_response['score'];
147147 $html .= ' points</p></div>';
148148 $html_output .= $html;
@@ -187,7 +187,7 @@ function get_user(string $api_url, string $inline_title) {
187187 $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>';
188188 $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">';
189189 $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a';
190 $html .= 'href="/user/'. $sub_response['by'] . '">';
190 $html .= ' href="/user/'. $sub_response['by'] . '">';
191191 $html .= $sub_response['by'] . '</a> | ' . $sub_response['score'];
192192 $html .= ' points</p></div>';
193193 $html_output .= $html;