Support zero skipped text in OrgSource slicing.
This commit is contained in:
@@ -153,7 +153,7 @@ fn _preceded_by_whitespace<'s>(
|
||||
.unwrap_or(allow_start_of_file)
|
||||
{
|
||||
return Err(nom::Err::Error(CustomError::MyError(MyError(
|
||||
"Must be preceded by a non-whitespace character.".into(),
|
||||
"Must be preceded by a whitespace character.".into(),
|
||||
))));
|
||||
}
|
||||
Ok((input, ()))
|
||||
|
||||
Reference in New Issue
Block a user