Open didierbrouwers opened 6 months ago
@didierbrouwers It occurs because PHP's strip_tags() function (called by $sanitizer) strips it out, as it apparently looks close enough to the opening of a HTML tag. I'm not really sure of a way around that since it's PHP that's stripping it out rather than ProcessWire. We could remove the strip_tags() call from the Sanitizer::markupToText method, but I think that would likely introduce issues elsewhere.
@ryancramerdesign https://github.com/processwire/processwire-issues/issues/1111
Short description of the issue
Repeater item label text is truncated after '<' when '<' is immediately followed by a character.
Expected behavior
The text following '<' should also be shown in the repeater item label.
Actual behavior
Example: 'PO bij 5 tot <9kg' is shown in the repeater label as 'PO bij 5 tot'
Steps to reproduce the issue
Setup/Environment