levand/domina — Issue #7: String as DomContent doesn't work for table-related elements
Author: bobby
Created: 2012-01-27 16:24:24+00:00
State: open

# Expected:

(.log js/console (single-node "
Foo
"))

to print to the console:

Foo

i.e. a Table Row Element

# Actual

(.log js/console (single-node "
Foo
"))

printed to the console:

Foo

i.e. a Text Node Element

This discrepancy is due to a known bug in goog.dom.htmlToDocumentFragment: http://code.google.com/p/closure-library/issues/detail?id=210