remove \t from subjects (#141)

This commit is contained in:
Clément DOUIN 2021-05-04 12:18:36 +02:00
parent 9ea84be081
commit 9ba0c75c58
No known key found for this signature in database
GPG key ID: 69C9B9CFFDEE2DEF
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Table with subject containing `\r` or `\n`[#141] - Table with subject containing `\r`, `\n` or `\t` [#141]
- Overflow panic when shrink column [#138] - Overflow panic when shrink column [#138]
- Vim plugin empty mailbox message [#136] - Vim plugin empty mailbox message [#136]

View file

@ -44,7 +44,8 @@ impl Cell {
styles: Vec::new(), styles: Vec::new(),
value: String::from(value.as_ref()) value: String::from(value.as_ref())
.replace("\r", "") .replace("\r", "")
.replace("\n", ""), .replace("\n", "")
.replace("\t", ""),
shrinkable: false, shrinkable: false,
} }
} }