* code for task #6697.

This commit is contained in:
wangyidong
2019-12-19 13:19:11 +08:00
parent 0264e1bf1e
commit 5771ab2a4b
+1 -1
View File
@@ -112,7 +112,7 @@
<td class='text-center'><?php echo $plan->hour;?></td>
<td class='text-center'><?php if(!empty($plan->projectID)) echo html::a(helper::createLink('project', 'task', 'projectID=' . $plan->projectID), '<i class="icon-search"></i>');?></td>
<td class='text-left content'>
<?php $desc = strip_tags(str_replace(array('</p>', '<br />', '<br>', '<br/>'), "\n", str_replace(array("\n", "\r"), '', $plan->desc)));?>
<?php $desc = strip_tags(str_replace(array('</p>', '<br />', '<br>', '<br/>'), "\n", str_replace(array("\n", "\r"), '', $plan->desc)), '<img>');?>
<div title='<?php echo $desc;?>'><?php echo nl2br($desc);?></div>
</td>
<td class='c-actions'>