Add post_blank to the rust types.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use organic::types::StandardProperties;
|
||||
|
||||
use super::macros::intermediate;
|
||||
|
||||
use crate::error::CustomError;
|
||||
@@ -5,6 +7,7 @@ use crate::error::CustomError;
|
||||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct IVerbatim {
|
||||
pub(crate) contents: String,
|
||||
pub(crate) post_blank: organic::types::PostBlank,
|
||||
}
|
||||
|
||||
intermediate!(
|
||||
@@ -16,6 +19,7 @@ intermediate!(
|
||||
Ok(IVerbatim {
|
||||
// TODO: Should this coalesce whitespace like PlainText?
|
||||
contents: original.contents.to_owned(),
|
||||
post_blank: original.get_post_blank(),
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user