diff --git a/action.php b/action.php index 7538d85..099a8bf 100644 --- a/action.php +++ b/action.php @@ -101,7 +101,7 @@ switch ($VARS['action']) { "pubid" => $VARS['pubid'], "page" => $VARS['page'], "styleid" => $VARS['styleid'], - "content" => $VARS['content'], + "content" => trim($VARS['content']), "width" => $VARS['width'], "order" => $VARS['order'] ]; diff --git a/lib/gencontent.php b/lib/gencontent.php index 306cb31..0bde18e 100644 --- a/lib/gencontent.php +++ b/lib/gencontent.php @@ -72,9 +72,7 @@ foreach ($tiles as $tile) {