Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line breaks in tables are not preserved #568

Closed
Alagts opened this issue May 21, 2024 · 2 comments
Closed

Line breaks in tables are not preserved #568

Alagts opened this issue May 21, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Alagts
Copy link

Alagts commented May 21, 2024

Issue description:
The line breaks should be preserved in order to enhance readability. In the screenshot you can see that the line breaks are omitted and therefore the structure of the content is partly lost. Here is the link to the page where I found the issue.

Here is a screenshot of the problem:
The red arrows show missing line breaks.
preserve_linebreaks_table

The source code can be found under this link.

Further thoughts about solving the problem:
Of course if a word is too long it should be wrapped. But if a line break appears we should respect it (for example with a css property: white-space: pre-line ?). I would add also some space between the lines if there isn't space anyway.

@Alagts Alagts added the styles label May 21, 2024
@Alagts Alagts changed the title Preserve line breaks in tables Line breaks in tables are not preserved May 21, 2024
@linawolf linawolf removed the styles label May 21, 2024
@linawolf
Copy link
Member

Thanks for the report, this is a problem of parsing, not of styles. Related to #460

@jaapio jaapio added the duplicate This issue or pull request already exists label Sep 4, 2024
@jaapio
Copy link
Contributor

jaapio commented Sep 4, 2024

This is a duplicate of the mentioned issue by lina. I will close this issue as it's proven to be a duplicate.

@jaapio jaapio closed this as completed Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants