Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
nodereference.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2011 at 08:21 UTC
Updated:
16 Jul 2011 at 08:32 UTC
A node title containing character U+2028 (line separator) breaks autocompletion of that node in a nodereference field and results in a javascript error.
This might happen when a user copies and pastes from MS word or some other rich text editor. I'd think it shouldn't be allowed in the title anyway, but Drupal stores the value as-is so I think autocomplete should work with it.
I'm not sure if this is only nodereference, drupal autocomplete, or just plain JSON.
Filing as minor because one solution is to remove the stray character from the title.