Skip to content

Commit

Permalink
Fix new paragraph starting on |
Browse files Browse the repository at this point in the history
Signed-off-by: Paul-Elliot <[email protected]>
  • Loading branch information
panglesd committed Feb 14, 2023
1 parent d72b51c commit 97fd2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syntax.ml
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ let paragraph : input -> Ast.nestable_block_element with_location =
fun acc ->
match npeek 2 input with
| { value = `Single_newline ws; location }
:: { value = #token_that_always_begins_an_inline_element; _ }
:: { value = #token_that_always_begins_an_inline_element | `Bar; _ }
:: _ ->
junk input;
let acc = Loc.at location (`Space ws) :: acc in
Expand Down

0 comments on commit 97fd2a3

Please sign in to comment.