mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
handle Code::multiline_continue_from result
This commit is contained in:
parent
7f6c459065
commit
8c00d4bf89
6 changed files with 50 additions and 8 deletions
|
|
@ -50,7 +50,7 @@ fn gemtext() {
|
|||
}
|
||||
}
|
||||
Some(ref mut result) => {
|
||||
Code::multiline_continue_from(result, line);
|
||||
assert!(Code::multiline_continue_from(result, line).is_ok());
|
||||
if result.completed {
|
||||
code_multiline.push(code_multiline_buffer.take().unwrap());
|
||||
code_multiline_buffer = None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue