Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
[squirrelmail.git] / templates / default / input.tpl
index 07aa8224d6513ff57f8deaa8b2b5b5c5223f07cf..4bf9109f9dd3c703b95a6926057f2f1383fa5d85 100644 (file)
@@ -28,8 +28,8 @@ extract($t);
 
 echo '<input type="' . $type . '"';
 foreach ($aAttribs as $key => $value) {
-//TODO: see the FIXME tag on line 68 of functions/forms.php - the htmlspecialchars() below should be migrated to the template class
-    echo ' ' . $key . (is_null($value) ? '' : '="' . htmlspecialchars($value) . '"');
+//TODO: see the FIXME tag on line 68 of functions/forms.php - the sm_encode_html_special_chars() below should be migrated to the template class
+    echo ' ' . $key . (is_null($value) ? '' : '="' . sm_encode_html_special_chars($value) . '"');
 }
 echo ' />';