Do not match text markup end with empty contents.
This commit is contained in:
@@ -59,6 +59,10 @@ impl<'s> OrgSource<'s> {
|
||||
self.end - self.start
|
||||
}
|
||||
|
||||
pub(crate) fn get_byte_offset(&self) -> usize {
|
||||
self.start
|
||||
}
|
||||
|
||||
pub(crate) fn get_preceding_character(&self) -> Option<char> {
|
||||
self.preceding_character
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user