question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Empty lines unexpectedly added after table tags

See original GitHub issue

Prettier 1.16.1 Playground link

--parser html

Input:

<table>
  <tr></tr>
</table>
<div></div>

Output:

<table>
  <tr></tr>
</table>

<div></div>

Expected behavior:

<table>
  <tr></tr>
</table>
<div></div>

Happens only if tbody tags are omitted.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ikatyangcommented, Jan 28, 2020

Pseudo <tbody> for <tr> is removed in angular-html-parser@1.4.0, updating the parser should fix the issue.

0reactions
thorn0commented, Jan 31, 2020

closed by #7468

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Four blank line before the table - Stack Overflow
When I see it via browser I see four blank line before the table. Where are they and how to remove ...
Read more >
Blank lines added in the email client before a table
After these steps, the unexpected break lines should no longer appear in the email client before any <table> tags. The world works with...
Read more >
Prevent empty line after tabular environment - TeX
To remove the empty line, go without flushleft environment and use \raggedright . To correct the line number placement: either put an empty ......
Read more >
Bug while adding empty line of space inside the page content
On the Cloud platform, the added space lines between content on the "Editor Mode" are arbitrarily reflected on the "Published.
Read more >
Solved: Removing blank lines - Power Platform Community
Please try the following methods to achieve your needs. Initialize String variable-Breakline, and add a carriage return inside Value. Initialize another String ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found