erikzaadi/jQueryPlugins — pull request #46 by jimfunk (2012-12-12 18:59:20+00:00)
Title: Copy doctype when generating html

This keeps the browser from entering quirks mode, fixing #24.

Code based on
http://stackoverflow.com/questions/6088972/get-doctype-of-an-html-as-string-with-javascript