Tuesday 10 January 2006 by sencer

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.