Pretty URLs config option doesn't redirect .html

This support guide says that when “Pretty URLs” is enabled, /blog.html should 301 redirect to /blog, but that doesn’t seem to be the case. Here’s a link to a minimal repro: https://pretty-urls-issue.netlify.app/blog.html.

“Pretty URLs” is enabled via netlify.toml and the blog page lives at blog.htmlin the project’s root folder.