Trim whitespace from raw value.

This commit is contained in:
Tom Alexander
2023-10-02 16:32:33 -04:00
parent dec3242e72
commit 9846cde2f0
2 changed files with 15 additions and 2 deletions

View File

@@ -586,3 +586,9 @@ impl<'s> StandardProperties<'s> for PlainText<'s> {
self.source
}
}
impl<'s> Timestamp<'s> {
pub fn get_raw_value(&self) -> &'s str {
self.source.trim_end()
}
}