Commit 7f0d14fe6f
Unsigned
Layout: unified · split
index.php +2 −2
| @@ -195,9 +195,9 @@ function get_user(string $api_url, string $inline_title) { | |||
| 195 | $html = 'TODO: Add logic to handle polls here.'; | 195 | $html = 'TODO: Add logic to handle polls here.'; |
| 196 | } else { | 196 | } else { |
| 197 | // TODO: Add link to parent with $sub_response['parent'] | 197 | // TODO: Add link to parent with $sub_response['parent'] |
| 198 | $html = '<div><timedatetime="' . date('Y-m-d h:m:s', $sub_response['time']); | 198 | $html = '<div><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']); |
| 199 | $html .= '">' . date('Y-m-d h:m:s', $sub_response['time']); | 199 | $html .= '">' . date('Y-m-d h:m:s', $sub_response['time']); |
| 200 | $html .= '</time><br><p>' . $sub_response['text']; $html .= '</p></div>'; | 200 | $html .= '</time><br><p>' . $sub_response['text'] . '</p></div>'; |
| 201 | } | 201 | } |
| 202 | $html_output .= $html; | 202 | $html_output .= $html; |
| 203 | } | 203 | } |