View Single Post
Old 04-06-2023, 03:22 AM   #13
akita328
Member
akita328 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2019
Device: kindle, iPad Marvin
Quote:
Originally Posted by Karellen View Post
Yes, I agree. You need to spend 10min or so figuring out what the classes are doing, especially when they are nested. You might also be removing blockquotes, centering, right aligned, and lots of other styling.

I have never used a plugin to fix these problems. A few well placed regexes can either remove the code or find&replace the convoluted code with your own simpler classes.

In your example a simple regex would have fixed that
Find... <span class="text_14">(.*?)</span>
Replace... \1

Then look at what is leftover and figure out what it does and either leave it, replace it or remove it.
Not to worry. I have looked at all the classes, and verified what they are doing. many of them were duplicates... so I did a find/replace to consolidate several different labels into a single one..

now everything looks much neater now I can see where all the bad linefeeds are, so am systematically fixing them..

sigh
akita328 is offline   Reply With Quote