This question might not belong here, so if it does not please remove it.
Let's say I wanted to remove empty excessive white space. So in the code if you see <br /> <br /> <br /> (ie <br /> three times in a row) how would you remove it so that you can have a max of two in a row.
I need this because, everytime the editor edits an html marked up post, at the end of each line it adds <br /> making the post huge if edited a few times
|