Title: Plugin causes HTML structure change
Last modified: June 3, 2024

---

# Plugin causes HTML structure change

 *  Resolved [dennisego](https://wordpress.org/support/users/dennisego/)
 * (@dennisego)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/plugin-causes-html-structure-change/)
 * Hello!
 * I’m facing a strange issue when using the plugin. When I enable the checkbox “
   Test current csp policy” or “Enable csp protection” my HTML structure of my home
   page changes. This causes some javascript animation logic to break.
 * The javascript expects multiple sections below each other (not nested), each 
   with the following classes: section fp-section fp-table.
 * ![](https://wordpress.org/c756316e-29e6-4cda-91fa-3f1264ff18e1)
 * For some reason when the checkbox is enabled all the sections except the first
   one are inside the first section… This causes my animations to break.
 * ![](https://wordpress.org/6d15edd0-3949-42d8-9356-2d0aa8b8cd83)
 * When I disable the testing checkbox or the plugin entirely the HTML structured
   is as it should be…
 * Does anybody know what might cause this issue?
 * Thanks for the assist!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-causes-html-structure-change%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Plugin causes HTML structure change’ is closed to new replies.

 * ![](https://ps.w.org/no-unsafe-inline/assets/icon-256x256.png?rev=2699768)
 * [No unsafe-inline](https://wordpress.org/plugins/no-unsafe-inline/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/no-unsafe-inline/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/no-unsafe-inline/)
 * [Active Topics](https://wordpress.org/support/plugin/no-unsafe-inline/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/no-unsafe-inline/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/no-unsafe-inline/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dennisego](https://wordpress.org/support/users/dennisego/)
 * Last activity: [1 year, 12 months ago](https://wordpress.org/support/topic/plugin-causes-html-structure-change/)
 * Status: resolved