mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +00:00
[ui] non-manager users no longer see raw/escaped HTML (closes #8)
This commit is contained in:
parent
762e76dfb3
commit
2960cdb9ff
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class RolePicker extends Component {
|
||||||
if (!roleManager && msg !== '') {
|
if (!roleManager && msg !== '') {
|
||||||
return <section>
|
return <section>
|
||||||
<h3>Server Message</h3>
|
<h3>Server Message</h3>
|
||||||
<p>{msgToReal(msg)}</p>
|
<p dangerouslySetInnerHTML={{__html: msgToReal(msg)}}></p>
|
||||||
</section>
|
</section>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue