Closed (duplicate)
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2013 at 06:33 UTC
Updated:
23 Jun 2014 at 11:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rafaqz commentedum sorry its displaying as
$quot;:)Comment #2
pjcdawkins commentedI have the same problem but with
&in titles.Comment #3
pjcdawkins commentedScreenshot:
[edit:] For me this is when using an EntityReference View to provide the select list.
Comment #4
LoyC commentedI can confirm this issue. Why no one care?
Comment #5
rafaqz commentedI'm getting this whether there is a view involved or not, and can add
'the list.Comment #6
rafaqz commentedI'm fixing the views display by replacing line 59 of entity_reference_plugin_style.inc with:
$results[$values->{$id_field_alias}] = filter_xss_admin(preg_replace('/\s\s+/', ' ', str_replace("\n", '', decode_entities($this->row_plugin->render($values)))));But this probably should be fixed elsewhere to deal with the problem with normal behaviour as well, and I doubt my example is a good way to do it...
Comment #7
collier.matthew commented+1
Comment #8
TheMGamer commentedComment #9
thirdender commented#6 fixes the issue if a View is used to generate the options, but not if the entity selection mode is "Simple (with optional filter by bundle)".
Comment #10
TheMGamer commentedFor me #6 won't work. even with views filters. Can someone please fix this? It is very important for my website
Comment #11
TheMGamer commentedHere you can find how to fix it! https://drupal.org/node/1665818#comment-7069158
Comment #12
damien tournoud commentedDuplicate of #1665818: Ampersands and other characters are not displayed correctly in <select> widgets.