Tuesday 10 January 2006 by
The markup that textile uses for comments has changed between different versions of textpattern. Versions 4.0.1 and earlier would only use br-tags to markup all paragraphs. 4.0.2 fixed that and introduced some blocktags, including p where applicable – unfortunately there was a little bug that lead to single linebreaks turning into two br-tags (one too many). 4.0.3 finally fixed that bug as well.
This plugin is intended to check all your comments and try to ‘fix’ older comments (from 4.0.2 and earlier) by replacing br-tags with p-wraps where applicable, and by fixing the erranous double linebreaks. Please make a database-backup and get informed about how to restore your DB, in case you are not satisfied with the results.
Please provide feedback in the comments here, if this plugin worked for you.
Download: asy_equalize_comments.txt then go to the new “Equalize Comments” tab (under the extensions-tab) and hit Equalize. You can then delete the plugin again.

Sencer, it worked for me, but it still retained double line breaks within a comment. Is that correct?
10 Jan 06
Michael Bester
What message did you get after running the plugin? Actually it shouldn’t have retained double line breaks… Odd.
If you like you can send me a dump of your comments table (txp_discuss) and I can take a look (please purge any sensitive data like mail-adresses etc. first). You can reach me via the email form on my site/the forums.
10 Jan 06
Sencer
I’m sending you the export now. Thanks for taking a look at this.
14 Jan 06
Michael Bester
Worked fine for me: all my comments have a consistent look now.
Thanks Sencer!
14 Jan 06
Alan
I haven’t had a single Textpattern installation last that long. I don’t know if it’s good or bad.
14 Jan 06
Ian Williamson
Went smooth on three separate installs—thanks a lot!
25 Jan 06
Anark