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'],
"page" => $VARS['page'],
"styleid" => $VARS['styleid'],
"content" => $VARS['content'],
"content" => trim($VARS['content']),
"width" => $VARS['width'],
"order" => $VARS['order']
];

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

Loading…
Cancel
Save