Line break issues

I think there is some kind of general problem with line breaks, or else I am not able to figure out what is needed to force a line break to appear.

Look at Russian Who Is She: Login - LingQ

There are no paragraph breaks, yet if you edit the lessons, you can see that they are there.

It seems like there is some formatting code in the text that the editor will show only very briefly… I tried to copy what I see in French Who Is She (which displays properly) but it doesn’t help.

This is happening to me too, and it only started recently. I’ve been going through the lessons in this French course (latest: Login - LingQ) but now all lessons appear entirely on one page (i.e. no paging because it’s just one very long page).

1 Like

Yes, Me too. 100 lessons posted on LINGQ over the past two years and the formatting (i.e. line breaks) now all lost so that the whole lesson is one big lump of text. What’s the point?

Curiously, the formatting still still displays correctly on the Full Text icon.

1 Like

Same here. Fortunately not in the Classic View that I still prefer for my English lessons.

I was noticing this too last night with a Chinese lesson. Login - LingQ

I thought it was just a glitched made lesson, but I see it is across the board, because of this forum.

Thanks for your reports everyone! We are familiar with this problem, it has been reported to our development team and hopefully we will get it fixed asap.

I have the same problem when trying to add lessons. I first add the text and might add the end of lines but they just convert into text after saving so there are no lines and all becomes one big block of text in one screen. Because of this I have my mistake added over 1000 words to my German count…
On the other hand if one presses save and open it works just fine…

So you’re saying you have one way that works and another that doesn’t? I don’t quite understand. It sounds like you’re saying if you just paste it and click “save and open” it is good. But if you paste it and add line breaks it doesn’t work?

Formatting lessons in LINGQ is all a bit of a mystery. You mentioned that when you Save a lesson in LINGQ it displays formatting codes for a fraction of a second and then they disappear.

At the beginning of each line of text the code is

and at the end of the line it is

. Apparently

in HTML means end of paragraph.

The main LINGQ display view now ignores these codes and displays all the text as one big lump without line breaks.

However, the Full Text and Classic display views still observe the

codes and display the lines correctly.

1 Like

Exactly. It’s certainly very weird.

If for example I have “save and open”-ed a lesson it will work just fine. But if I then edit that lesson again and press save the formatting will be lost.

(UK Time: Wednesday 22.09) I’m back on line. Problem solved! Well done, those developers there.

But this episode has raised the point that formatting in LINGQ is a black art and it would help if there was an option to display formatting codes on a lesson.

A couple of contributions to the black art :

  1. as Smalde says, if I try to edit an existing lesson inside LINGQ the formatting doesn’t stick; but if I do the same formatting in Word and then Paste the lesson back into LINGQ as a new lesson it does stick, So you need to keep copies of all your lessons in Word.

  2. you can create line breaks in Resources by adding two spaces at the end of a line (saw this tip somewhere where they were discussing HTML)

This particular issue seems to be fixed! Thank-you to the tech team.

Yes, the issue has been fixed. Thanks for your patience everyone!

Was this ever actually fixed? The handling of line breaks seems very strange to me. I have some text with line breaks and no paragraph breaks:
https://ostrovok.de/old/classics/zoshchenko/story186.htm

As soon as I paste it into the text box, the line breaks disappear. The same thing happens if I save it as TXT and then upload it.

If I want to be able to read it with the proper formatting I will have to use find & replace to reformat it first.

Many sources have both paragraph and line breaks. They both need to be displayed somehow. As it is, you can’t even use two empty lines for a paragraph break, because they’re automatically reduced to one.

It was fixed (as far as I’ve seen) but it’s not the same issue that you’re having.

I wonder if there is some situation where it’s helpful that LingQ ignores a line break in copy/pasted text. Even if it were wrong to put a paragraph there (for a given text), the worst that would happen from inserting one is maybe that you couldn’t make phrase LingQs across the boundary. Not sure.

We are going to push another fix for this issue this week, and hopefully it will be solved after that.

That’s great. Once that’s sorted, ebook support will be much better.

Uh, I think this broke something: I have a lesson that was previously correctly formatted, but now it’s all over the place. The newlines aren’t being processes correctly by the reader.

Something went wrong in the meantime, but now it seems to back to how it was two weeks ago when I first posted in this thread. Are you still planning on fixing it so line breaks will not be stripped from imported text?

1 Like

Any update? I’m still wondering if I’ll be able to import books to LingQ without losing their basic formatting.