WordPress Content Formatting Issue - userStyle Tags and Unwanted Spaces

Hi Make.com community,

I’m struggling with a persistent formatting issue on my WordPress site that I hope can be solved with a Make.com automation.

The Problem

When creating content in WordPress (using Elementor), I’m running into two major formatting issues:

  1. Unwanted <userStyle>Normal</userStyle> tags keep appearing in my content (see example below)
  2. Random spaces are inserted between heading tags (h2, h3, etc.) and paragraphs

Example of problematic HTML:

html

<h3>My Heading</h3> <userStyle>Normal</userStyle>
<p>This paragraph has unwanted space before it and those strange userStyle tags.</p>

These issues break my layout and make the content look unprofessional, especially in the visual editor.

What I Need Help With

I’m looking for a Make.com scenario that can:

  1. Monitor my WordPress posts/pages for content changes
  2. Process the HTML to remove ALL <userStyle> tags
  3. Eliminate unwanted spaces between heading tags and paragraphs
  4. Update the WordPress content with the cleaned version
  5. Run automatically whenever content is published or updated

Technical Details

  • WordPress
  • Page builder: Elementor

Has anyone built something similar or have suggestions on how to approach this? I’ve tried manual fixes and some plugins but the issues keep returning.

Any help or direction would be greatly appreciated! I’m happy to share more details if needed.

Thank you!