Is there a method to prevent the rendering of attributes when saving an HTMLCustom field?
I'm trying to have the following code:
Code:
<div class="row" data-masonry='{"percentPosition": true }'>
But upon saving, it is altered to:
Code:
<div class="row" data-masonry="{"percentPosition": true }">
This alteration throws an error in the console:
masonry.pkgd.min.js:9 Error parsing data-masonry on row: SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)