Add post_blank to the rust types.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
use super::macros::intermediate;
|
||||
|
||||
use crate::error::CustomError;
|
||||
use organic::types::StandardProperties;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct ILatexFragment {
|
||||
pub(crate) value: String,
|
||||
pub(crate) post_blank: organic::types::PostBlank,
|
||||
}
|
||||
|
||||
intermediate!(
|
||||
@@ -20,6 +21,9 @@ intermediate!(
|
||||
} else {
|
||||
original.value.to_owned()
|
||||
};
|
||||
Ok(ILatexFragment { value })
|
||||
Ok(ILatexFragment {
|
||||
value,
|
||||
post_blank: original.get_post_blank(),
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user