subtreeexport can now handle HTML in attribute values