* Handling html tags.
This commit is contained in:
@@ -90,7 +90,7 @@ class kanban extends control
|
||||
}
|
||||
|
||||
$space = $this->kanban->getSpaceById($spaceID);
|
||||
$space->desc = strip_tags($space->desc);
|
||||
$space->desc = strip_tags(htmlspecialchars_decode($space->desc));
|
||||
|
||||
$typeList = $this->lang->kanbanspace->typeList;
|
||||
if($space->type == 'cooperation' or $space->type == 'public') unset($typeList['private']);
|
||||
@@ -256,7 +256,7 @@ class kanban extends control
|
||||
}
|
||||
|
||||
$kanban = $this->kanban->getByID($kanbanID);
|
||||
$kanban->desc = strip_tags($kanban->desc);
|
||||
$kanban->desc = strip_tags(htmlspecialchars_decode($kanban->desc));
|
||||
|
||||
$space = $this->kanban->getSpaceById($kanban->space);
|
||||
$spaceUsers = trim($space->owner) . ',' . trim($space->team);
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<?php echo $space->name;?>
|
||||
</p>
|
||||
</div>
|
||||
<?php $space->desc = empty($space->desc) ? $lang->kanban->emptyDesc : strip_tags($space->desc);?>
|
||||
<?php $space->desc = empty($space->desc) ? $lang->kanban->emptyDesc : strip_tags(htmlspecialchars_decode($space->desc));?>
|
||||
<p class="spaceDesc text-ellipsis text-primary" title='<?php echo $space->desc;?>'><?php echo $space->desc;?></p>
|
||||
</div>
|
||||
<div class='spaceActions pull-right'>
|
||||
|
||||
Reference in New Issue
Block a user