Title: Strip adding unnecessary attributes/code
Last modified: November 5, 2024

---

# Strip adding unnecessary attributes/code

 *  Resolved [tegsheee](https://wordpress.org/support/users/tegsheee/)
 * (@tegsheee)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/strip-adding-unnecessary-attributes-code/)
 * Hello,
 * I would like to report a bug. Whenever i add a background image to a strip, a
   lot of unnecessary information is being saved in code. Here is a snippet from
   the excess: `03e\n\n\u003cli id='mlo-category-2733'\u003e\u003clabel class=\u0022selectit\
   u0022\u003e\u003cinput value=\u00221\u0022 type=\u0022checkbox\u0022 name=\u0022mlo-
   category_2733\u0022 class=\u0022check\u0022 data-taxonomy=\u0022mlo-category\
   u0022 /\u003e Backgrounds\u003c/label\u003e\u003c/li\u003e\n\n\u003cli id='m`
   It goes hundreds of lines.
 * In case, this is a mistake on my side, could you please tell me how to avoide
   it. 
   Thank you and Cheers

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/strip-adding-unnecessary-attributes-code/#post-18139804)
 * Hi [@tegsheee](https://wordpress.org/support/users/tegsheee/)
 * I’ve had a look into this and the data that gets included, is the media object
   returned from the built in WP media uploader (it’s just image data: url, alt,
   width, height etc).
 * Looking at the data you have provided, this looks to be including the html for
   form inputs, so I’m not sure where this is coming from and I’m unable to re-create
   it, so I think this may be something specific to you. It may be that the plugin
   is adding this additional data because of something you have setup at your end.
 * Unfortunately there’s no way for me to know from the small snippet you have provided.
   If you could send me the full code from the code editor, I can take a looks and
   it may help me identify why you are having this issue.
 * Thanks
   Miles
 *  Thread Starter [tegsheee](https://wordpress.org/support/users/tegsheee/)
 * (@tegsheee)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/strip-adding-unnecessary-attributes-code/#post-18173053)
 * Hello Miles,
 * Thank you for your response. I will try disabling my plugins and tell you if 
   I find some new information.
 * Best Regards
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/strip-adding-unnecessary-attributes-code/#post-18239032)
 * Hi [@tegsheee](https://wordpress.org/support/users/tegsheee/)
 * I haven’t hear anything back on this, hopefully that means you were able to resolve
   the issue. I’m going to close this ticket, but if you need anymore assistance,
   please don’t hesitate to get back in touch.
 * Miles
 *  Thread Starter [tegsheee](https://wordpress.org/support/users/tegsheee/)
 * (@tegsheee)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/strip-adding-unnecessary-attributes-code/#post-18341003)
 * Hello,
 * i wanted to give a quick update. The problem was with a plugin called [https://wordpress.org/plugins/enable-media-replace/](https://wordpress.org/plugins/enable-media-replace/).
   When a background image is added to the layout blocks, while this plugin is active,
   then the attribute “compat” of the blocks gets filled with some HTML of the Enable
   Media Replacer plugin.
 * Cheers
    -  This reply was modified 1 year, 2 months ago by [tegsheee](https://wordpress.org/support/users/tegsheee/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Strip adding unnecessary attributes/code’ is closed to new replies.

 * ![](https://ps.w.org/all-bootstrap-blocks/assets/icon-256x256.gif?rev=2617070)
 * [All Bootstrap Blocks](https://wordpress.org/plugins/all-bootstrap-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-bootstrap-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-bootstrap-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-bootstrap-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [tegsheee](https://wordpress.org/support/users/tegsheee/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/strip-adding-unnecessary-attributes-code/#post-18341003)
 * Status: resolved