Problems with tables
See original GitHub issueI encountered some problems with tables. I have two components my-table
and my-row
.
The template for my-table
is like this:
<table>
<tbody><ng-content select="my-row"></ng-content></tbody>
</table>
One pf the problems is that ng-content
gets extracted from the table
tree, i.e. the output is like this:
<ng-content select="my-row"></ng-content>
<table>
<tbody></tbody>
</table>
The other problem I encountered is when I actually use my-table
in another template:
<my-table>
<my-row>
<td>foo</td>
<td>bar</td>
</my-row>
</my-table>
prettyhtml strips the td
elements:
<my-table>
<my-row>
foo
bar
</my-row>
</my-table>
Version is 0.0.55
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Math Problems with Data Tables - Smartick
For today´s entry, we are going to solve math problems where the relevant data is displayed on a table. The reason is clear...
Read more >Linear equations word problems: tables - Khan Academy
Solve word problems about real world relationships that are given in tables.
Read more >Solving ratio problems with tables (video) - Khan Academy
Solving ratio problems with tables ... We're displaying ratios in a table format here, and then asking: given a ratio, solve for equivalent...
Read more >Common Problems to Avoid in Tables - LetPub
1. First, make sure that the information you put in a table is worthy of being presented as a table. · 3. Only...
Read more >Problems with Tables - Manifold.net
Most routine problems with tables arise from confusion over field types. The classic problem is working with a series of values like "3.145",...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Feel free to reopen the issue. I tested both cases and it works.
Fixed with the latest update @starptech/prettyhtml 0.0.56