正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -182,7 +182,7 @@ class TranslateLogic extends BaseLogic | @@ -182,7 +182,7 @@ class TranslateLogic extends BaseLogic | ||
| 182 | if(FALSE !== strpos($country_class, 'country-flag')) { | 182 | if(FALSE !== strpos($country_class, 'country-flag')) { |
| 183 | continue; | 183 | continue; |
| 184 | } | 184 | } |
| 185 | - $need_tran[] = htmlspecialchars_decode(html_entity_decode($string)); | 185 | + $need_tran[] = trim(htmlspecialchars_decode(html_entity_decode($string))); |
| 186 | } | 186 | } |
| 187 | $need_tran[] = $description ? $description->attr['content'] : ''; | 187 | $need_tran[] = $description ? $description->attr['content'] : ''; |
| 188 | $need_tran[] = $keywords ? $keywords->attr['content'] : ''; | 188 | $need_tran[] = $keywords ? $keywords->attr['content'] : ''; |
-
请 注册 或 登录 后发表评论