diff options
Diffstat (limited to 'single.inc.php')
-rw-r--r-- | single.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/single.inc.php b/single.inc.php index 7ef7251..623e121 100644 --- a/single.inc.php +++ b/single.inc.php @@ -26,7 +26,7 @@ $formatted_time = strftime('%b %d %Y %H:%M', $post['post_timestamp']); ?> <time class="post-timestamp" datetime="<?= $datetime ?>" data-unix-time="<?= $post['post_timestamp'] ?>"><?= $formatted_time ?></time> - <p class="post-message"><?= autolink($post['post_content']) ?></p> + <p class="post-message"><?= nl2br(autolink($post['post_content'])) ?></p> <?php else: ?> <p>No post with this ID.</p> <?php endif; ?> |