PDF export based on HTML-template not functioning properly

There seems to be a change to the way “Attach PDF using Template” automation works when using the “Treat template as HTML page” option which breaks inclusion of rich text areas.

I had saved a meeting note a few months ago as a pdf, which seemed to work fine, but when I try to regenerate the file, the contents of the rich text field is now just rendered as a big text block:

I believe this might be due to a change related to the note in the manual which notes:

Please note that Markdown is not processed in this case.

Can you guide me as to how to convert the markdown content to formatted html to restore the previous function?

Not sure what might have changed, but could you try experimenting with this: