When a html page includes de picture and source tags Cloudflare replace it with a closing tag but the source tag does not allow a closing tag, for example:
That’s correct, without the Cloudflare proxy the html code is the original one without the closing tags. Cloudflare replace it even with all optimizations disabled. I did write the code myself.