I’m running the “tutorial” v2 project starter created with:
$ ionic start MyIonic2Project tutorial --v2
If I place an erroneous </p>
tag after another </p>
tag in a Page component, for example hello-ionic.html, this “breaks” the component (no longer functions properly with the nav stack and shows up as an empty white page)
Working valid HTML
Erroneous </p>
tag kills everything
This behavior happens with other malformed HTML as well. For example, a non-closed <sup>
tag does the same thing.
Is anyone else experiencing this? If so, this seems like an unfortunate pitfall of the platform. In a HTML / template heavy application, there are bound to be a few cases of malformed HTML. Browsers are OK with this (you may get a whole page of superscript when you don’t properly terminate </sup>
but the page still works. Showing a white page doesn’t give any indication of where the bad HTML lives.