Creating new line via `shift+enter` adds a `L-SEP` symbol

When a new line in a text component is created via shift+enter a L-SEP character is added to the end of the line that later on is visible in a web page (Chrome - Windows) when you have copied&pasted the content from Figma.

Screenshot

3 Likes

I also have this problem and it’s very tricky to deal with. Can we get some sort of fix for it?

This appears to be the line separator character U+2028. Perhaps Figma can normalize it to a regular line feed character whenever the user copies text?

4 Likes

Very irritating, that and the meta data that copies across when you do not paste in as plain text.

The issue still remains and it’s indeed very annoying. Especially when using only Macbooks we don’t see the issue, but when we deliver website to clients they see it.

Is there any way of solving this?

Sidenote: I copy text out of the design (the text is filled by our copywriters) via the Copy button in the Content section under the Inspect tab.

Still an issue, very frustrating. Lots of clients complaints, basically makes the copy button useless. Which makes the developers job a lot harder.

Yep, frustrating indeed, especially when you’re dealing with big chunks of copy, you need to manually go and remove them all… assuming you spot them.

Adding this jquery code to your website should remove all of them, and replace them with a space:

$(document).ready(function() {
    $("body").children().each(function() {
        $(this).html($(this).html().replace(/
/g," "));
    });
});

Still, not the most amazing solution

Still occurs, even when I copy text to a comment on the same damn page. Can’t believe how developers deal with that bug.

Still occurs, this is very frustrating, because if you see the text on Android, there is ugly sign (box with a cross in it) and it looks hideous on page. Please repair this.

the problem still occurs… has someone already came up with a good solution for this?