rpdasilva / print-html-element

Prints the HTML of a provided element.
MIT License
24 stars 10 forks source link

Default div wrapper class always attempts to retrieve element.className #3

Closed rpdasilva closed 9 years ago

rpdasilva commented 9 years ago

When print with an HTML string, element.className is undefined adding an erroneous class name to wrapper div