Needs review
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
exposed filters
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2012 at 11:15 UTC
Updated:
31 Jan 2019 at 14:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerLink to the original issue: #1413750: escaped html element in html select element of exposed filter the actual patch had the right way to to it, but i just suggested to do it the wrong way :(
Comment #2
Shevchuk commentedAny news on this issue?
Comment #3
dawehnerSorry, please don't post such pointless comments. It annoys everyone. If there is an update, there is a comment.
Comment #4
capellicI added this to a JS file in a module I created for various admin overrides. No, not the ultimate solution.
Comment #5
mpdonadioThis issue was linked from another one I was following (https://drupal.org/comment/7082854#comment-7082854). Here is a quick patch with Damien's suggestion. It works for me, but I was having trouble coming up with a good case to check against.
Comment #6
brahimmouhamou commentedAlso views_plugin_exposed_form:exposed_form_alter executes a check_plain() to convert special characters to HTML entities which leads to problems when use quotes or ampersands.
Comment #8
xiff commentedHey, there is a bug into the patch #5, with this patch, you will see id and not the label.
here is a corrected version
Comment #9
chris matthews commentedThe 3 year old patch in #8 to views_handler_filter.inc applied cleanly to the latest views 7.x-3.x-dev and if still relevant needs to be reviewed.
Comment #10
chris matthews commentedUnassigning @dawehner