HTML getting clogged up with data-preserver-spaces="true"


is there a way to stop this getting added in the markup? data-preserver-spaces=“true”


Those aren’t added by Surreal. They’re probably added by a script that’s running on your page. However, you may see them published if the script is running in the editor.

To prevent this from happening, find the offending script and use one of these methods to detect the CMS and prevent it from running in the editor.

I hope that helps!


Thanks for that, will go hunting :slight_smile: