mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Fix issue processwire/processwire-issues#1931
This commit is contained in:
@@ -1404,7 +1404,7 @@ abstract class Inputfield extends WireData implements Module {
|
||||
continue;
|
||||
}
|
||||
|
||||
$str .= "$attr=\"" . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . '" ';
|
||||
$str .= "$attr=\"" . htmlspecialchars("$value", ENT_QUOTES, "UTF-8") . '" ';
|
||||
}
|
||||
|
||||
return trim($str);
|
||||
|
Reference in New Issue
Block a user