aboutsummaryrefslogtreecommitdiff
path: root/timeline.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'timeline.inc.php')
-rw-r--r--timeline.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/timeline.inc.php b/timeline.inc.php
index 13a4d54..f560d24 100644
--- a/timeline.inc.php
+++ b/timeline.inc.php
@@ -42,7 +42,7 @@
$formatted_time = strftime('%b %d %Y %H:%M', $post['post_timestamp']);
?>
<a class="post-timestamp" href="<?= $config['url'] ?>/<?= $post['id'] ?>"><time datetime="<?= $datetime ?>" data-unix-time="<?= $post['post_timestamp'] ?>"><?= $formatted_time ?></time></a>
- <p class="post-message"><?= autolink($post['post_content']) ?></p>
+ <p class="post-message"><?= nl2br(autolink($post['post_content'])) ?></p>
</li>
<?php endforeach; ?>
</ul>