mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 16:54:44 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$str .= "$attr=\"" . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . '" ';
|
$str .= "$attr=\"" . htmlspecialchars("$value", ENT_QUOTES, "UTF-8") . '" ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return trim($str);
|
return trim($str);
|
||||||
|
Reference in New Issue
Block a user