What version of astro are you using?
2.5.7
Are you using an SSR adapter? If so, which one?
no
What package manager are you using?
pnpm
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
In this case I get a syntax related exception for the Astro component related to the result (content) returned from my module.
example with issue:
---
import getContent from './module'
---
<Fragment set:html={await (async () =>
<Fragment set:html={await getContent()}/>
)()}/>
workaround example:
---
import getContent from './module'
const content = await getContent()
---
<Fragment set:html={content}/>
Link to Minimal Reproducible Example
⠀
Participation