I have a requirement where I need to export XF as an HTML. I have tried using the plain selector on the publish instance. It seems to be working but it's not rendering the custom HTML markup that i have added (eg. I am using <header>) on the page. Is there any configuration where I can add the custom HTML tags?
If you are trying to consume entire HTML of the experience fragment then have you tried hitting the exp fragment without any selector just with html extension just like any other page..