Joplin adds NBSP symbols when copy/paste

I copy code from the markdown mode area and paste it to phpStorm and it adds many NBSP symbols.
If I copy from usual mode (not markdown) the code is pasted correctly. But it is not convenient to copy the code by using mouse.
Is there a way to remove the NBSP symbols?

Can you share the note in .jex format?

1 Like

sure:
borders.jex (3 KB)

welp, yeah, your code contains non breaking spaces: if you replace them by (i.e. type in) tabs or regular spaces, it pastes just fine.

It's probably the weirdness of the source where you copied the code from i.e. not Joplin's bug

1 Like

Hello graphit0, thanks for the answer. You are right I create a new note and paste code from phpstorm there are no NBSP symbols.

This note was imported from evernote. All my notes were imported from evennote. All of them have NBSP issue. And I have around 1000 notes, and don't want to fix all of them.

But anyway, thanks for your help.

Okay, got it

Just an FYI about the resources for replacing a string in all notes:

VSCode plugin that has additional functionality:

https://joplin-utils.rxliuli.com/joplin-vscode-plugin

1 Like

In addition, you don't need to export and import again, you can directly use the online tool to replace them all, refer to: Joplin Batch

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.