Steps to reproduce
- Copy formatted text that the originating app will encode as HTML on the pasteboard. Prefer something with bullet points, headings, and standard text.
- Paste this into Obsidian.
- Note the extra lines.
- Cmd/Ctrl-Z to undo
- Use Cmd+Option+Shift+V, and note that no headings or bullets are used. (this workaround eliminates duplicate lines in some formatted text, but not this kind)
Did you follow the troubleshooting guide? [Y/N]
Yes. Sandbox vault.
Expected result
Markdown that’s visually consistent with the original source.
Actual result
Extra line breaks are added.
Environment
SYSTEM INFO:
Obsidian version: v1.9.12
Installer version: v1.8.4
Operating system: Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:29 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6000 24.6.0
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
- Open Terminal.app.
- Type
osascript -e 'the clipboard as record' - Note the
«class HTML»:«data HTML3C6D6.... Copy everything after “HTML”. Convert from hex to UTF8. (b = Buffer.from('<hex code>', 'hex').toString('uft8')in Node.js will do) - Note the HTML structure includes
<li><p>text here</p></li>. I suspect that having<li>AND<p>is somehow contributing to the mixup.
Screenshots
Original source, with and without styles:
Both result in the same extra blank lines in Obsidian.
HTML Source
See this pastebin (links not allowed…please update your instructions and remove Pastebin reference) for the HTML source, but none of the CSS from the original. It should still create the issue.


