Die if there are any newlines inside the task text
The `t` file format is line-based, so newlines break the file format. We'd have
to escape them or something, but that opens a whole can of worms, and `t` is
supposed to be simple, so we'll just forbid them.
Fixes https://github.com/sjl/t/issues/26
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 11 Apr 2020 11:23:45 -0400 |
parents |
9bb1865858a7 |
children |
(none) |
a882490073a1a6973f32ecde2c2a1693024b4a7f v1.0.0
a882490073a1a6973f32ecde2c2a1693024b4a7f semver
2693d5c857a510fce3b3675de06c97d4a05d7bf7 v1.1.0
7cbbec2d86e1c047b08a0e2d4f72d53c99450d55 v1.2.0