lpil / lpil/jot

Lists nested under footnote don't get parsed correctly

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Gleam
Stars
65
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Example:
```
[^orchestrator]: The 'main' process that orchestrates (creative naming, I know) the game tick by tick.

1. Start a tick
2. Wait for user code
3. End the tick
4. Wait for chunks
5. Persist changes
6. Start again at 1.
```

djot.net playground:
```html


  • The ‘main’ process that orchestrates (creative naming, I know) the game tick by tick.




    1. Start a tick


    2. Wait for user code


    3. End the tick


    4. Wait for chunks


    5. Persist changes


    6. Start again at 1.


    ↩︎



  • ```

    Output from jot.to_html:
    ```html


  • The 'main' process that orchestrates (creative naming, I know) the game tick by tick.




    1. Start a tick
      2. Wait for user code
      3. End the tick
      4. Wait for chunks
      5. Persist changes
      6. Start again at 1.


    ↩︎



  • ```

    Contributor guide

    No contributing guide indexed for this repository

    Research direction

    Reproduce the issue with the footnote example from the report and compare jot.to_html with the shown djot.net output. Trace the parser's handling of an ordered list nested in a footnote; done means each numbered item is emitted as its own HTML list item while the footnote backlink remains correct.

    Written by the indexing model from the issue text.

    Assessment

    Domain
    tooling
    Issue type
    Bug
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Quiet
    Clarity
    Clearly specified
    Newbie friendliness
    58/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.