mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 20:06:16 +02:00
Don't filter ampersands (fixes #1247)
This commit is contained in:
parent
966211b71a
commit
bd21e3a8d6
|
|
@ -219,6 +219,9 @@ class BaseController
|
||||||
{
|
{
|
||||||
$value = self::$htmlPurifierInstance->purify($value);
|
$value = self::$htmlPurifierInstance->purify($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow some special chars
|
||||||
|
$value = str_replace('&', '&', $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $requestBody;
|
return $requestBody;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user