Bug 487766

Summary: Manpages formatting issues
Product: [Applications] khelpcenter Reporter: bjoernv
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: REPORTED ---    
Severity: normal CC: bjoernv
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: lists in helpcenter (left) and PDF/Okular (right)
examples in helpcenter (left) and in PDF/Okular (right)

Description bjoernv 2024-05-29 21:23:18 UTC
Created attachment 169956 [details]
lists in helpcenter (left) and PDF/Okular (right)

Some manpages in Help Center show formatting issues. I found this issue in khelpcenter-24.02.2 (this version can't be selected here).

STEPS TO REPRODUCE
1. Ensure that man-pages are installed (tested with man-pages-6.8)
2. Search for "man:string_copying" in KDE start menu 
3. Compare displayed manpage with the "man string_copying" command or with PDF manpage ("man -Tpdf string_copying > string_copying.pdf")

OBSERVED RESULT
The lists in the manpage have extra newlines (lists.png)
In examples section the source code is hard to read because of missing newslines (examples.png).

EXPECTED RESULT
The formatted manpages should look similar to PDF version or text version.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 5.116.0
Qt Version: 6.7.0
Comment 1 bjoernv 2024-05-29 21:25:59 UTC
Created attachment 169957 [details]
examples in helpcenter (left) and in PDF/Okular (right)