diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index e69b1d120b..6e7aaeec95 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -485,9 +485,10 @@ $projectIDParam = $isProjectStory ? "projectID=$projectID&" : ''; $plan) { - $searchKey = $withSearch ? ('data-key="' . zget($plansPinYin, $plan, '') . '"') : ''; + $planTitle = strip_tags($plan); + $searchKey = $withSearch ? ('data-key="' . zget($plansPinYin, $plan, '') . '"') : ''; $actionLink = $this->createLink('story', 'batchChangePlan', "planID=$planID"); - echo html::a('#', $plan, '', "$searchKey title='{$plan}' onclick=\"setFormAction('$actionLink', 'hiddenwin', '#productStoryForm')\""); + echo html::a('#', $plan, '', "$searchKey title='{$planTitle}' onclick=\"setFormAction('$actionLink', 'hiddenwin', '#productStoryForm')\""); } ?>