Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If I want to use a nice, accessible more link text like:
View all<span class="element-invisible"> news articles</span>
I can't because views_plugin_display->render_more_link()
uses check_plain()
. This is a bit excessive because we allow simple HTML elsewhere in Views configuration. We could use filter_xss_admin()
instead.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2671576-views-render_more_link-filter_xss_admin-6.patch | 581 bytes | xlin |
| |||
#5 | 2671576-views-render_more_link-filter_xss_admin-5.patch | 715 bytes | grndlvl |
|
Comments
Comment #2
dalinComment #4
dalinNot quite sure why the first one failed. There was only a but if fuzz due to the original patch being against 3.13.
Comment #5
grndlvl CreditAttribution: grndlvl at GollyGood Software for Zivtech commentedRe-rolling patch.
Comment #6
xlin CreditAttribution: xlin as a volunteer commentedRe-rolling patch.