wp-content/plugins/rasp/rasp.php
Rasp
Clean the HTML that arrived with your imported content, with a preview of every change.
== Description ==
Content imported from an old CMS arrives full of inline styles, nested font tags, empty paragraphs and spans that carried a class from a stylesheet nobody has. Rasp finds these across the whole site, shows you a diff, and applies the fix only where you accept it.
It also converts classic HTML into blocks — properly, matching structure to core blocks rather than dropping everything into one HTML block, which is what the automatic conversion does.
Every change is stored as a revision, so a bulk operation across nine thousand posts is undoable post by post.
== Screenshots ==
Numbered the way they ship in /assets/. Click any one to see it full width.
== Installation ==
- Install and activate the plugin.
- Run
wp rasp analyseto see what your content contains. - Preview and apply rules under Tools → Rasp.
Take a backup anyway. The revisions make it undoable, not risk-free.
== Frequently asked questions ==
Will it break my layout?
The preview shows before and after for every affected post. Nothing applies without acceptance.
Shortcodes?
Left alone unless you write a rule. Shortcodes from a removed plugin are reported so you know they are there.
== Changelog ==
= 1.5.0 =
- Structural block conversion, mapping headings, lists and tables to core blocks rather than one HTML block.
= 1.3.0 =
- Every change stored as a revision, making bulk operations reversible per post.