From 38d24bc35842bde0324dd39fa23299b57ed87140 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 1 Dec 2017 21:01:46 -0700 Subject: [PATCH] Fix large amounts of leading/trailing whitespace in tile source --- action.php | 2 +- lib/gencontent.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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) {
-content" class="tile-style-"> -
- -
+