*

Ajit Sahane

  • ****
  • 204 posts
  • https://bestclassifiedsusa.com
Ad Description need to sanitize and clean
« on: May 13, 2025, 05:09:23 PM »
Nowadays, many users are using tools like ChatGPT to generate ad descriptions and then copy-paste the content into the HTML editor. While the text appears clean in the editor, the underlying HTML is often cluttered with unnecessary code — including data-start, data-end, class, style, id, and deeply nested <div> or <span> tags, often from page builders like Elementor.

This extra code bloats the database, slows down rendering, and leads to poorly formatted content that Googlebot sees as AI-generated or over-optimized — reducing indexing and search visibility. Some company profile or ad description sections contain entire WordPress builder outputs, which severely affects SEO and page performance.

Currently, I manually clean this using tools like HTML Attribute Cleanup Tool https://shorturl.at/sslF6, but it’s time-consuming. Ideally, Osclass should clean the ad description before saving to the database, stripping all unnecessary HTML attributes and keeping only safe tags like <p>, <br>, <a>, <strong>, etc.

This would ensure cleaner frontend output, better crawlability, and improve overall SEO and performance.

I hope the Osclass development team considers this enhancement soon.
« Last Edit: May 13, 2025, 05:26:03 PM by Ajit Sahane »

*

MB Themes

Re: Ad Description need to sanitize and clean
« Reply #1 on: May 27, 2025, 08:25:34 PM »
There is no 100% tool for this and might cause troubles.
Do they post it via source code viewer?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots