HTML Export via Space Settings doesn't trigger renderModes default endpoint

Hi devs,

One of our customers tried exporting pages in spaces with dynamic content macros on them to HTML but the result HTML does not render the macros at all.

We investigated it seems that the renderModes default endpoint is ONLY triggered for PDF and Word export but not for HTML.

As a result of that, we aren’t able to apply compatible static formats to our macros when a Confluence page is exported to HTML via Space Settings.

This is an example page with our macros on it:

This is the exported HTML:

Is this expected and is there another way how we can render our dynamic-content macros for HTML exports?