title: Catching HTML errors in HTMLLoader / mx:HTML
body: <p>I'm building an application to convert old HTML code to modern, responsive HTML. The app has one text area where the user can enter HTML code which is then displayed in an <code>mx:HTML</code> component (using the <code>htmlText</code> property). Unfortunately the code to convert has a bunch of errors, such as missing/not closed tags. During debugging I see console messages warning about it, e.g. <code>about:blank:29 HTML ERROR: &lt;p&gt; is not allowed inside &lt;tr&gt;. Inserting &lt;p&gt; before the &lt;table&gt; instead.</code> I would like to show these messages in my application but I can't figure out where the traces are created... can anyone help? </p>