Commit a62b9fa
authored
fix: do not include leading file contents in blog genre
leanprover/lean4#12662 changed the module parser
to by default include the text preceding the first token in a Lean file
as whitespace belonging to that token. That parser infrastructure also
is used for `lean` blocks in the blog genre. The change in the PR had
the effect that the first `lean` block for an `exampleContext` always
included the whole preceding Verso file contents as leading whitespace
at the first command token.
Fixes #923.lean blocks as whitespace (#924)1 parent 461db9a commit a62b9fa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| |||
0 commit comments