Hello all
I have come face to face with a small problem i can't solve (or find a logic behind it so as to prevent it)
in our admin panel/backend we have a section where some authorized personel write the texts of the site.
Quite often, they copy/paste from MSWord, with unpredictable results (we use some wysiwyg editor for them).
Of course we take any precaution to filter out the bad tags of the msword.
But recently i have noticed a new behaviour.
One text may show something like: <p><br> <br></p>
While the other may be <p><br><br></p>
(note the missing space in the 2nd text)
Since this isn't a common pattern in all texts, how can i prevent it/delete it/replace it/whatever?