Uh oh!
There was an error while loading. Please reload this page.
Custom test to demonstrate everything breaks - #15
Conversation
It all starts here: https://github.com/joomla-framework/filter/blob/master/src/InputFilter.php#L335 Just a possible solution off the top of my head:
If this workaround it acceptable, let me know and I'll be more than happy to do it. |
photodude
commented
Nov 27, 2015
@wilsonge |
mbabker
commented
Mar 2, 2016
@wilsonge You doing anything with this? |
wilsonge
commented
Mar 2, 2016
I can't find a way to "make this work" :( But there's definitely an issue that needs solving as the unit test demonstrates |
photodude
commented
Mar 23, 2016
Could we utilize HTML parsing with the PHP DOM module, for this part of the Filter to bypass the overly broad assumption that there is a tag if there is a |
mbabker
commented
Mar 23, 2016
Possibly? Still should account for what'll probably be rare cases where PHP is configured with |
csthomas
commented
May 24, 2017
I can add such improvement direct to joomla after joomla/joomla-cms#16201 will be merged. |
I'd expect from the string filter that Would problems arise, if that behaviour gets implemented into 1.x? I'd like to add it to 2.0 in any case. |
Hackwar
commented
Aug 26, 2023
This is still a current issue. |
So if you run a string containing a symbol
<through the filter class then you find that it gets stripped.It's something inside the tag cleaning - but obviously we don't want all
<tags to be stripped