Fix: Corrected converting a HTML string into a document fragment