Bug 505006

Summary: Last nested bullet list item displayed with too big line spacing
Product: [Applications] okular Reporter: Lassi Väätämöinen <lassi.vaatamoinen>
Component: markdown backendAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test Markdown to show the issue
Screenshot of the issue

Description Lassi Väätämöinen 2025-05-30 10:45:22 UTC
Created attachment 181893 [details]
Test Markdown  to show the issue

SUMMARY
When  a nested bullet list item ends the list, there is too much space above the nested item.

STEPS TO REPRODUCE
1. Create a bullet list with multiple top-level items having nested items
2. End the bullet list in a nested item
3. Observe last nested item

OBSERVED RESULT
Nested list item has too much space above it

EXPECTED RESULT
Last nested bullet item should be spaced similar to the earlier nested bullet items.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250522
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B79
System Version: 4.0
Comment 1 Lassi Väätämöinen 2025-05-30 10:46:29 UTC
Created attachment 181894 [details]
Screenshot of the issue