Trim whitespace from raw value.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user