if '>' character (and such characters) is/are entered into pager settings Label, html entity is output.

CommentFileSizeAuthor
#2 views_simple_pager-1941876-01.patch1.28 KBarpieb

Comments

arpieb’s picture

Assigned: Unassigned » arpieb

Thanks for reporting that bug! It sounds like the link text is being double-escaped. Let me look into that tonight as it should be a relatively simple fix...

arpieb’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new1.28 KB

It looks like I was applying filter_xss() to the link labels, and then the core theme_pager_link call under the hood was calling check_plain() on top of that, causing a double-escape to occur on HTML entities.

I have removed the redundant filter_xss() call in this patch, and will be committing to the dev branch shortly.

arpieb’s picture

Status: Patch (to be ported) » Fixed

Fixed in 7.x-1.0-alpha2 release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.