summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-17 03:39:58 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-17 03:39:58 +1000
commit0d45fbc7992b8e55bc4a9df079f9ae0ed3b85e64 (patch)
tree3f720afaba3887e3c83fc9c326611b23119b45db /inc
parent5774d2163280406aa74344d547bbe8f8a481c8c1 (diff)
Add \n before post modifiers. Add flag alt for country flags.
Diffstat (limited to 'inc')
-rw-r--r--inc/mod/pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 457f905b..fe55b513 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -1283,7 +1283,7 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
$query->bindValue(':subject', $_POST['subject']);
$query->bindValue(':body', $_POST['body']);
if ($edit_raw_html) {
- $body_nomarkup = $_POST['body'] . '<tinyboard raw html>1</tinyboard>';
+ $body_nomarkup = $_POST['body'] . "\n<tinyboard raw html>1</tinyboard>";
$query->bindValue(':body_nomarkup', $body_nomarkup);
}
$query->execute() or error(db_error($query));