Summary: Make wiki text end with a newline character, so the last line won't be marked as changed if text is added at the bottom
Prerequisites: Last tested on PmWiki version: pmwiki-2.1.beta22
Diffs are more useful if the wiki text ends with a newline character, so the last line won't be marked as changed if text is added at the bottom. How to achieve this?
Add the following code to your local/config.php:
$ROSPatterns["/\n*$/"] = "\n";
- floozy, 2006-01-29, Initial version
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.