Fix large amounts of leading/trailing whitespace in tile source
This commit is contained in:
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…
x
Reference in New Issue
Block a user