Add an HTML flattening component