Closed NoahBres closed 2 years ago
I believe the supported tags should also be valid HTML. It's just that many valid HTML tags don't work in the Android TextView.
Ah you're right. I was testing the HTML properties (color, font, etc.) on non-<font>
tags. Wasn't aware that it was limited to that tag. But it seems to work fine.
So no parsing necessary! A simple PR to just switch to dangerouslySetInnerHTML should work great!
0.4.5
Telemetry view: render via dangerously set inner html to enable to enable the fancy HTML Logging from the SDK.
Implementation tbdProbably requires manual parsing as the tags that the Android textview supports aren't native HTML. Maybe a simple regex replace will suffice.