HTML files don't render in Canvas the way URLs do?

When an HTML file is uploaded in Obsidian Canvas it does NOT render it as it does when you enter a URL.

Is this a bug or not supporter? I want to load HTML files in vault and then have them render interactively the way URLs do?

yes, it’s intentionally not supported.

also this