I made the HTML file display (read as utf 8) in a new tab as described by dear Steve-Mcl:
https://flows.nodered.org/flow/db68bd4934cf46f39e6e453a348bc419
But the PDF file can only be downloaded in a new tab (read as buffer).
And how do I make it display too?
Please help me with some advice.