The template provided by the Webform module for theming a submission is rather plain. Basically, it looks like a
print_r of the data variable. If you try to add HTML to validation function before it gets submitted, the HTML just gets rendered as plain text.
So I was trying to find a way to override the template from a module as opposed to a theme. I'm not able to find much documentation for this right now.
How do I override webform's default submission HTML template from a module?