fedora-infra / mobile

An Android app that allows the Fedora community to interact with Fedora's web apps on the go.
https://fedoraproject.org/mobile
Other
27 stars 10 forks source link

Status info message should handle HTML and HTML entities #12

Closed relrod closed 11 years ago

relrod commented 11 years ago

Right now you see raw HTML if a status info message contains HTML.

Since we don't not support this, it's worth fixing in Fedora Mobile. We should handle HTML entities as normal. For HTML itself, we should either strip it or render it as HTML, but not render it as HTML tags.

relrod commented 11 years ago

As it turns out, we do want to not support HTML in the status messages (so we should probably run them through an HTML entities encoder). Instead, we'll add a "Reference URL" to the JSON, and make the app display that. This URL can reference a Fedora Hosted ticket, or any other link related to an outage, such as an upstream outage info link. #13 will cover displaying this link in Mobile.