We're updating the issue view to help you get more done. 

Bundle previews break user interface when single quotes are in current value

Description

When a value contains a single quote (apostrophe) the enter editor UI is broken due to Javascript errors. This is the code in the ca_object_labels_preferred.php bundle that is causing the error, due to a unescaped quotes:

bundlePreview: '<?php print addslashes(strip_tags(html_entity_decode(current($va_initial_values)['name']))); ?>',

I'd bet there are others but haven't looked.

Environment

None

Assignee

Stefan Keidel

Reporter

User known

Labels

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure