You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please let's have null-safe version of Twig extension #76
Since 3.0, parameter was typehinted to string, which breaks stuff for everybody passing null there. Nullable getters are very widespread, please don't make us do {{ activity.getNote ? activity.getNote|purify }} on each instance. It's fine this typehint is present in HTMLPurifierRuntime, but twig filter should be a closure typehinted to ?string that shouldn't pass null along to HTMLPurifierRuntime
Activity
Exercise#76: Allow null input in Twig extension
Merge pull request #77 from bobvandevijver/patch-1
HeahDude commentedon Sep 18, 2020
3.0.1 is now released, closing here, thanks!