Is it safe to allow HTML uploads?

As a personal preference, I prefer not to have to download any files at all. I’d rather just see the code in the post. So, my question is…

is there any reason the HTML is not added directly in the posts as a code block?

<section>
  <h1>Introduction</h1>
  <p>People have been catching fish for food since before recorded history…</p>
</section>

<section>
  <h1>Equipment</h1>
  <p>The first thing you’ll need is a fishing rod or pole that you find comfortable and is strong enough for the kind of fish you’re expecting to land…</p>
</section>
...

That way it’ll be visible right away, won’t require any files to be downloaded and won’t take up much space in the post - since we force scrollbars on code blocks beyond a certain height. Plus, there’s 0 security risks involved since it won’t be parsed at all.

I can expand on this if this solution works for you.