Message152363
I've created a patch using the conditional expression in msg151945. The one problem I found with it is that when the input string is terminated by a newline it removes that newline.
I've added an optional third argument: a function which determines which lines are indented. If omitted, the default behavior is to indent non-empty lines. |
|
| Date |
User |
Action |
Args |
| 2012-01-31 00:03:49 | ezberch | set | recipients:
+ ezberch, georg.brandl, amaury.forgeotdarc, ncoghlan, dontknow, brandjon |
| 2012-01-31 00:03:48 | ezberch | set | messageid: <[email protected]> |
| 2012-01-31 00:03:47 | ezberch | link | issue13857 messages |
| 2012-01-31 00:03:47 | ezberch | create | |
|