Added Maziar's DynamicHtmlWriter