Updated: Comment #0
Problem/Motivation
While working on the sub issues of #1823450: [Meta] Convert core listings to Views whenever views name is "Who's new" or "Who's online" the views operational links escapes html twice.
Before

After


Proposed resolution
Correct escaping
Remaining tasks
Create patch
User interface changes
Right escaped out.
API changes
None
Related Issues
Follow-up from #2020395: Convert "Who's new" block to a View.
#2020399: Convert "Who's online" block to a View
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | Screenshot from 2014-01-14 13:46:21.png | 15.48 KB | jibran |
| #17 | Screenshot from 2014-01-14 13:46:09.png | 15.31 KB | jibran |
| #15 | interdiff-2100959-15.txt | 2.33 KB | damiankloip |
| #15 | 2100959-15.patch | 6.29 KB | damiankloip |
Comments
Comment #1
jibran#2126983: ConfigItemGroup form double escapes the form #title related issue.
Comment #2
damiankloip commentedYes, here the whole strings are escaped, so we don't really need to escape the display titles first. I thought we already fixed this once before to be honest.
Comment #3
jibranIt needs screenshots once patch comes back green.
Comment #4
damiankloip commentedReally?! of a non escaped string? I think it just needs manual testing.
Comment #6
damiankloip commented2: 2100959.patch queued for re-testing.
Comment #8
damiankloip commented2: 2100959.patch queued for re-testing.
Comment #10
olli commentedTested manually and works pretty well except for 'Enable @display_title'.
I think we should be able to write a test for this.
Comment #11
mr.baileysComment #13
damiankloip commentedHow about we replace this placeholder array for a variable, and just reuse that for all of these assertions?
Other that that, looking good! Thanks for writing some tests for this. I forgot about this issue :)
Comment #14
jibranNW according to #13.
Comment #15
damiankloip commentedI'll go. Let's get this done.
Don't think we need a screenshot either, we have one showing the initial issue. Plus, I think most people know what double escaped html looks like.
Comment #16
jibranIt is a bug right? And it is fixed so RTBC.
Comment #17
jibranAdded after image. :P
Comment #18
webchickCommitted and pushed to 8.x. Thanks!