Commit 9fcf6929aa

9fcf6929aa23c0eee6c2a9bf5c29d4e2015ba936

parent: 2a57019b0c

Unsigned

cmc <hello@cleberg.net> · 2023-06-01 14:48 UTC

format line lengths

Layout: unified · split

index.php +4 −2
@@ -140,8 +140,10 @@ function get_stories($api_url, $inline_title) {
140 140
141 $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>'; 141 $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>';
142 $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">'; 142 $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">';
143 $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by '; 143 $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a';
144 $html .= $sub_response['by'] . ' | ' . $sub_response['score'] . ' points</p></div>'; 144 $html .= 'href="/user/'. $sub_response['by'] . '">';
145 $html .= $sub_response['by'] . ' | ' . $sub_response['score'];
146 $html .= 'points</p></div>';
145 $html_output .= $html; 147 $html_output .= $html;
146 } 148 }
147 149