Merge branch 'cyy_fixbug' into 'master'

* Fix bug #6971.

See merge request easycorp/zentaopms!2638
This commit is contained in:
李玉春
2022-03-30 09:12:48 +00:00
+1
View File
@@ -1905,6 +1905,7 @@ class task extends control
$task->desc = htmlspecialchars_decode($task->desc);
$task->desc = str_replace("<br />", "\n", $task->desc);
$task->desc = str_replace('"', '""', $task->desc);
$task->desc = str_replace('&nbsp;', ' ', $task->desc);
}
/* fill some field with useful value. */