[ui] non-manager users no longer see raw/escaped HTML (closes #8)

This commit is contained in:
41666 2019-04-19 03:13:06 -05:00
parent 762e76dfb3
commit 2960cdb9ff
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF

View file

@ -76,7 +76,7 @@ class RolePicker extends Component {
if (!roleManager && msg !== '') {
return <section>
<h3>Server Message</h3>
<p>{msgToReal(msg)}</p>
<p dangerouslySetInnerHTML={{__html: msgToReal(msg)}}></p>
</section>
}