- πΊπ¦Ukraine Stockticker
And here we are, 8 months later :)
re-roll for 2.1.x, based on a patch from a #15.
- πΊπ¦Ukraine Stockticker
re-roll for 2.1.0, based on a patch from a #15.
- Status changed to Needs review
12 months ago 1:15pm 6 July 2023 - πΊπΈUnited States timwood Rockville, Maryland
Thanks for the updated patch @Stockticker. It's working for us!
I'm not sure whether this new patch "uses the same implementation as the views functionality mentioned in the parent meta issue?", so not marking RTBC.
- Status changed to Needs work
11 months ago 3:32pm 3 August 2023 - πΊπΈUnited States markie Albuquerque, NM
MR was updated to reflect the proper branch. Needs updating or re-rolled patch applied. Might have to close and open a new MR.
- First commit to issue fork.
- @mortona2k opened merge request.
- Status changed to Needs review
10 months ago 6:20pm 18 August 2023 - πΊπΈUnited States mortona2k Seattle
I rebased onto the 2.1.x branch.
I had to change:
// https://stackoverflow.com/questions/12824899/strip-tags-replace-tags-by-space-rather-than-deleting-them $output = preg_replace('/<(\w+)(?![^>]*\/>)[^>]*>/', ' <\1>', $output); - $output = strip_tags($output); $output = str_replace(' ', ' ', $output); + $output = strip_tags($output, $this->getSetting('trim_options_allowed_html')); $output = trim($output); - $output = Xss::filter($output, $this->getSetting('trim_options_allowed_html'));
Seems to be working so far.
- π©πͺGermany Anybody Porta Westfalica
Very helpful functionality that was also requested in β¨ Add preserve tags option to formatter Closed: duplicate
- π¬π§United Kingdom rossb89
rossb89 β changed the visibility of the branch 2901579-selective-html-stripping-2.1.x to hidden.
- π¬π§United Kingdom rossb89
rossb89 β changed the visibility of the branch 2901579-selective-html-stripping-2.1.x to active.
- Merge request !92#2901579 - Allow the possibility to specify which tags to be stripped when... β (Open) created by rossb89
- π¬π§United Kingdom rossb89
I've redone the last MR (68) as the rebase wasn't done correctly and it appeared to contain duplicated code that was already in 2.1.x...
I've done a new clean MR (92) with the patch re-rolled which is working nicely π
- π¬π§United Kingdom rossb89
rossb89 β changed the visibility of the branch 2901579-selective-html-stripping to hidden.
- π¬π§United Kingdom rossb89
rossb89 β changed the visibility of the branch 2901579-selective-html-stripping-2.1.x to hidden.
- π¬π§United Kingdom rossb89
Did a few more tweaks to the work here in MR-92 to get tests passing, which they are now!