Fix large amounts of leading/trailing whitespace in tile source

master
Skylar Ittner 7 years ago
parent cc3aa3ddfd
commit 38d24bc358

@ -101,7 +101,7 @@ switch ($VARS['action']) {
"pubid" => $VARS['pubid'], "pubid" => $VARS['pubid'],
"page" => $VARS['page'], "page" => $VARS['page'],
"styleid" => $VARS['styleid'], "styleid" => $VARS['styleid'],
"content" => $VARS['content'], "content" => trim($VARS['content']),
"width" => $VARS['width'], "width" => $VARS['width'],
"order" => $VARS['order'] "order" => $VARS['order']
]; ];

@ -72,9 +72,7 @@ foreach ($tiles as $tile) {
</div> </div>
<?php } ?> <?php } ?>
<div id="tile-<?php echo $tile["tileid"]; ?>-content" class="tile-style-<?php echo $tile["styleid"]; ?>"> <div id="tile-<?php echo $tile["tileid"]; ?>-content" class="tile-style-<?php echo $tile["styleid"]; ?>">
<div class="tile-html"> <div class="tile-html"><?php echo $tile["content"]; ?></div>
<?php echo $tile["content"]; ?>
</div>
</div> </div>
</div> </div>
<?php <?php

Loading…
Cancel
Save