Both the dropdown and multiselect widgets are both displaying double quotes in node titles as "

CommentFileSizeAuthor
#3 screenshot-1955064.png9.45 KBpjcdawkins

Comments

rafaqz’s picture

um sorry its displaying as $quot; :)

pjcdawkins’s picture

Title: Quotes in node titles are printing as " » Special characters in entity titles are double-encoded as HTML entities (", &, etc.)

I have the same problem but with & in titles.

pjcdawkins’s picture

StatusFileSize
new9.45 KB

Screenshot: screenshot-1955064.png

[edit:] For me this is when using an EntityReference View to provide the select list.

LoyC’s picture

I can confirm this issue. Why no one care?

rafaqz’s picture

I'm getting this whether there is a view involved or not, and can add ' the list.

rafaqz’s picture

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...

collier.matthew’s picture

+1

TheMGamer’s picture

Priority: Normal » Major
thirdender’s picture

#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)".

TheMGamer’s picture

For me #6 won't work. even with views filters. Can someone please fix this? It is very important for my website

TheMGamer’s picture

Here you can find how to fix it! https://drupal.org/node/1665818#comment-7069158

damien tournoud’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)