- Merge request !2Issue #3346292: Collapse text filter runs text through #markup, which can remove tags like SVG, breaking things β (Closed) created by bkosborne
- π·πΈSerbia levmyshkin Novi Sad, Serbia
Thank you, it's working for me: Drupal 10.1.2, Collapse Text 2.0.0.
- Status changed to Needs review
about 1 year ago 9:51am 19 October 2023 - Status changed to RTBC
about 1 year ago 3:58pm 19 October 2023 -
DYdave β
committed 28beb939 on 2.0.x authored by
bkosborne β
Issue #3346292 by bkosborne, DYdave: Fixed handling of inline SVG tags...
-
DYdave β
committed 28beb939 on 2.0.x authored by
bkosborne β
- Status changed to Fixed
10 months ago 6:00pm 30 January 2024 - π«π·France dydave
Hi Brian (@bkosborne),
Thanks again very much for your help on this, it's greatly appreciated.
Just a quick message to let you know the changes from related !MR2 have been committed manually after doing a few minor tweaks to the order of the
use
statements at the top and updating slightly the commit message (from the MR).Otherwise, I have tested this locally and it worked as expected :
I created a node with the Collapse Text markup in Full HTML and pasted an inline SVG that I found online.
Without the patch, the SVG wouldn't display.
After I applied the patch the SVG displayed as expected.Once again, thank you very much for keeping at eye on the module and fixing issues as they come.
Feel free to let us know at any time if you have any questions, concerns, suggestions or comments on any of the recent code changes, this ticket, or the module in general, we would be glad to help.
Thanks again to everyone for your contributions, testing and feedback.
Cheers ! Automatically closed - issue fixed for 2 weeks with no activity.