Similar to http://drupal.org/node/1674858, fields with special characters (An apostrophe in my case) in the label display HTML escape codes in the Sort Field dropdown when sort by "A field attached to this entity" is selected.

Comments

mastermindg’s picture

I'm having the same issue (as are a lot of people). I wonder is drupal_html_to_text couldn't be called to clean this up?

PhilY’s picture

Issue summary: View changes

Do try to patch on comment #32 at https://www.drupal.org/node/1665818#comment-7069158. It works for me with Drupal 7.36 and Entity Reference 7.x-1.1