How to disable HTML sanitizing?

What I’m trying to do

Summary: I want to paste HTML that contains inline styles into a note and have the styles properly rendered.

Details: Vim has a “TOhtml” command that generates HTML with embedded styles that, when rendered, shows a webpage section that looks exactly like the contents of the Vim edit window complete with font and syntax coloring.

In Reader mode the correct text appears but all font selection and syntax coloring has been removed/ignored.

Things I have tried

I searched for “disable HTML sanitizing”. No results found.
I searched for “inline scripts” and found mentions only of the plugin. The “inline scripts” plugin does not seem to be what I need.

HTML gets sanitized for security reasons, you can’t disable that.

Thanks for the quick response. Sanitizing random HTML as a default makes total sense but this is HTML + scripts that I’m creating. Since I don’t consider myself a risk to my own security, a workaround would be nice.