cpp-html
cpp-html copied to clipboard
Doesn't work as HTML
I copied the content of hello.html.cpp into an HTML file, and it didn't render well in Chrome 67:

I was expecting:

Please fix. You may need some changes to https://github.com/whatwg/html.
Hmm that is indeed bothersome... Maybe HTML needs more Unicode support? Or we could use Polymer... Gotta think about this.
Oh did you try it in a browser other than Chrome? I get the following in Safari:
I did manually strip the #include "cpp.html.h", assuming that was just to enable the mode where HTML works.
The remaining difference in Chrome vs Safari is clearly a bug in one of them or the HTML specification.