Both the dropdown and multiselect widgets are both displaying double quotes in node titles as "
um sorry its displaying as $quot; :)
$quot;
I have the same problem but with & in titles.
&
Screenshot:
[edit:] For me this is when using an EntityReference View to provide the select list.
I can confirm this issue. Why no one care?
I'm getting this whether there is a view involved or not, and can add ' the list.
'
I'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...
+1
#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)".
For me #6 won't work. even with views filters. Can someone please fix this? It is very important for my website
Here you can find how to fix it! https://drupal.org/node/1665818#comment-7069158
Duplicate of #1665818: Ampersands and other characters are not displayed correctly in <select> widgets.
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.