Skip to main content
Bogdana
Apr 22, 2021 12:56 PM UTC

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

8 replies

yandodov
Apr 22, 2021 1:26 PM UTC

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?

Lewis
Aug 23, 2021 1:17 PM UTC

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

Daaf_Bleumink
Jan 13, 2022 7:54 AM UTC

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.

Nel_Korajkic
Jun 2, 2022 2:51 PM UTC

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

Alessandro.Benassi
Jun 30, 2022 10:41 AM UTC

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

yndx-den-nik
Apr 22, 2023 2:20 AM UTC

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

Jun 2, 2023 7:52 AM UTC

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.

Sebastian_Hemetsberger
Jul 25, 2023 2:29 PM UTC

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