Description: Many scientific books have inline headings. In these cases a title of a sub chapter appears in toc and in page header but is written as an italic text snippet with the beginning of the first paragraph of that sub chapter in line. In css this is simple to do: just have h4{ display:inline; font-style:italic; } in css and <p><h4>Test</h4> with Text</p> below. Still this (correctly shown in Firefox or Chrome) cannot be handled in Writer. Steps to Reproduce: Have <html> <head> <style type="text/css"> h2{ display:inline; } </style> </head> <body> <p><h2>My 1st. sub chapter</h2> And the text of its first paragraph</p> </body> </html> in an html file. Open that one in Writer and your favorite browser. Actual Results: My 1st. sub chapter And the text of its first paragraph Expected Results: My 1st. sub chapter And the text of its first paragraph Reproducible: Always User Profile Reset: No Additional Info: Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 60(Build:1) CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded
Created attachment 193015 [details] html file as described
Thank you for reporting the bug. I can confirm that the bug is present in: Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Created attachment 193018 [details] Reproducible Bug 160087
I think this is a duplicate of Bug 48459 *** This bug has been marked as a duplicate of bug 48459 ***