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

Already on GitHub? Sign in to your account

Elements.from td/tr/th/tbody/tfoot/thead #1031

johannesegger opened this Issue Sep 21, 2011 · 1 comment


None yet
2 participants

If there is a leading comment before the e.g. tr tag, MooTools wraps the text with a div and not with a table. This causes of course some troubles.


Elements.From("<!-- a comment --><tr><td>cell</td></tr>")

produces a wrong output.

Solution: RegExp mustn't match a comment as its first tag

@arian arian closed this Apr 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment