Fix up some attribute errors: * Make the style attributes work by translating style strings to a style object. * Make a map of attributes that are not name the same in dom vs react, and always look up the correct attribute. * Trim the text nodes before inserting, as react may not allow whitespace as text nodes for certain kinds of nodes (like colspan in a table - very odd...).
Fix up some attribute errors:
* Make the style attributes work by translating style strings to a style object.
* Make a map of attributes that are not name the same in dom vs react, and always look up the correct attribute.
* Trim the text nodes before inserting, as react may not allow whitespace as text nodes for certain kinds of nodes (like colspan in a table - very odd...).

diva-e/dom-to-react,diva-e/dom-to-react