ConvertMarkupToValidXhtml now retrieves the newly-created inner element by ID.