Patching Textile in the 4.0.0 release
There were bug reports that in the 4.0.0 release textile was yielding some unexpected (and unintended) results. This has been fixed now, but for consistency we can’t change the download, and the fix is not grave enough to warrant a new release.
If you feel bothered by any of the two following behaviours, you are a candidate for the patch:
- When you use html-tags or textile-formatting at the very beginning of a paragraph, textile will not wrap that paragraph in p-tags
- The ‘trick’ to prevent p-tags by starting a paragraph with a space was not working anymore.
Both issues are fixed in the patch. You can download the following file and replace the existing path/to/textpattern/lib/classTextile.php file. The changes will affect your articles as soon as you re-save them. To confirm that you uploaded the correct file into the correct directory, you can check high level diagnostics (admin-tab) for the following line:
/lib/classTextile.php: r812 (41f0f071e14d7db24d4f5e08f9a18dde)
Download: classTextile.php (right click and save)

does that mean you can not exchange the file in the download zip?
— alex · Aug 25, 09:49 PM · #
And the problem is not major enough that it warrants a new release by itself.
— Sencer · Aug 26, 04:50 PM · #
And I agree that this fix doesn’t need a release. From what I can tell in Textpattern’s svn logs, it looks like there are improvements and fixes like this nearly everyday. The Textpattern team’s doing an awesome job.
— Kris Khaira · Aug 26, 06:59 PM · #