Empty List Lines on Paste from Outside Obsidian

What I’m trying to do

I am trying to paste list items (bulleted or numbered) from outside Obsidian to Obsidian to a note.
When I paste the list, it is pasted as follows:

    - List Item 1
    
    - List Item 2
    
    - List Item 3

(Four spaces empty line is added between each list item).

This could be probably the paragraph or line breaks in the text I copied from.

I want to remove this and paste the list without those empty lines.

Things I have tried

I tried to use Linter plugin, but couldn’t find a solution that will only remove this empty line without touching rest of the content in the notes.

Expected Output

    - List Item 1
    - List Item 2
    - List Item 3

Is there any solution to this? Currently, I have to manually remove all such empty lines (sometimes even when the list is so long, the only way to do this is manual - hence this query for help.)

You could potentially to try to paste as plain text (cmd/ctrl + shift + v) instead paste (cmd/ctrl + v) :blush: .

I can’t guarantee the results though (as it could depend on the source of the list)

That removes the bullet points. The list is pasted like this:

List Item 1
List Item 2
List Item 3

Ok, this is clearly not perfect/ideal but you potentially could then select the 3 lines, right-click on the selection and select Bullet list under the Paragraph menu :sweat_smile:

That should turn each line into a bullet point…

These workarounds are fine. I have already done all those.

The purpose of posting here was to get help solving the issue. Or potentially identifying a bug in the software - for the developers.

But thanks. I followed your suggested solution before I posted this query here.

Perhaps PDF Paste plugin. In my experience it is very good at picking up unwanted newlines and such, but retains other formatting, so presumably bullets as well.