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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dalin created an issue. See original summary.

dalin’s picture

Assigned: dalin » Unassigned
Status: Active » Needs review
FileSize
695 bytes

Status: Needs review » Needs work

The last submitted patch, 2: 2671576-views-render_more_link-filter_xss_admin-1.patch, failed testing.

dalin’s picture

Status: Needs work » Needs review
FileSize
613 bytes

Not quite sure why the first one failed. There was only a but if fuzz due to the original patch being against 3.13.

grndlvl’s picture

xlin’s picture