So some (a lot) of my data got manipulated through an HTML parser (HTML was in the database, and got inserted into the main view but then saved through the code view) so I have a lot of HTML code that's now corrupted. Example:
<h1 class="Test">
Some test HTML
</h1>
Would change into:
<p><h1 class="Test">Some test HTML<h1></p>
Does anyone know if there's a way to revert this in SQL? I considered a simple search and replace for the common tokens, but that's not ideal as some of them may be on purpose especially the one for quotes. Any help would be greatly appreciated.