Support for preserving whitespace when adding/editing tasks