作者 lyh

gx

@@ -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'] : '';