This repository was archived by the owner on Jan 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
mdcat crashes on tasklists with nested paragraphs #302
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
This error occurs when rendering a file with a todo list, a todolist like this works fine
- [ ] foo
- [ ] bar
- [ ] baz
- [ ] test
- [ ] test1
- [ ] test2
but it seems once i leave space between the list it crashes, like so:
- [ ] foo
- [ ] bar
- [ ] baz
- [ ] test
- [ ] test1
- [ ] test2
the crash report:
"name" = "mdcat"
"operating_system" = "Windows 10.0.19045 (Windows 10 Home) [64-bit]"
"crate_version" = "2.5.0"
"explanation" = '''
Panic occurred in file 'C:\Users\Stijn_Admin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pulldo
wn-cmark-mdcat-2.5.0\src\render.rs' at line 946
'''
"cause" = "Event TaskListMarker(true) impossible in state Stacked(StateStack { top_level: TopLevelAttrs
{ margin_before: Margin }, states: [Inline(ListItem(Unordered, ItemBlock), InlineAttrs { style: Style {
fg: None, bg: None, underline: None, effects: Effects() }, indent: 2 })] }, Inline(InlineText, InlineAtt
rs { style: Style { fg: None, bg: None, underline: None, effects: Effects() }, indent: 2 }))"
"method" = "Panic"
"backtrace" = """
0: 0x7ff795a37da8 - <unresolved>
1: 0x7ff795a377ec - <unresolved>
2: 0x7ff795a1cc8a - <unresolved>
3: 0x7ff795a198a4 - <unresolved>
4: 0x7ff795a07418 - <unresolved>
5: 0x7ff7961b4392 - <unresolved>
6: 0x7ff7961b41d9 - <unresolved>
7: 0x7ff7961b27ff - <unresolved>
8: 0x7ff7961b3dde - <unresolved>
9: 0x7ff7962030b1 - <unresolved>
10: 0x7ff795ad7714 - <unresolved>
11: 0x7ff795abd883 - <unresolved>
12: 0x7ff795aacbf7 - <unresolved>
13: 0x7ff795a0fcbf - <unresolved>
14: 0x7ff795a109a2 - <unresolved>
15: 0x7ff795a17886 - <unresolved>
16: 0x7ff795a130ac - <unresolved>
17: 0x7ff7961a4462 - <unresolved>
18: 0x7ff795a1102c - <unresolved>
19: 0x7ff7961dffa0 - <unresolved>
20: 0x7ffa5bff7374 - BaseThreadInitThunk
21: 0x7ffa5da1cc91 - RtlUserThreadStart
"""
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working