Skip to content

Fix double html entity encoding of configuration in hidden form element issue #1

Rich requested to merge artfulrobot/synopsis:issue/1 into 1.x

The original code did not correctly create the hidden <input> element used to pass the JSON configuration string to Javascript, which meant, for example that a SQL query containing < or > would be rendered incorrectly as html entities like &lt;. Furthermore if the configuration was then re-saved this would happen again, leading to &amp;lt;!

Merge request reports