U4-6355 - Grid Error when using single quotes in the Styles configuration

Created by Jason Prothero 03 Mar 2015, 19:43:11 Updated by Shannon Deminick 18 Mar 2015, 08:55:53

When I place a single quote into the modifier for a Style configuration, the output HTML that is created has an error. The surrounding style='' attribute uses single quotes which breaks the modifier single quotes.

Example Style configuration:

{ "label": "Background image", "description": "Choose an image", "key": "background-image", "view": "imagepicker", "modifier": "url('{0}')" }


Jason Prothero 03 Mar 2015, 19:43:32

I have a pull request to fix this here: https://github.com/umbraco/Umbraco-CMS/pull/649

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.2.2

Due in version: 7.2.3


Story Points: