disable jinja autoescape for chat messages
This commit is contained in:
parent
67a1b0471a
commit
0980554cff
|
@ -54,6 +54,7 @@
|
|||
<div id="chatPane" class="chat">
|
||||
<h1>Chat</h1>
|
||||
<div id="chatWindow" class="chat">
|
||||
{% autoescape false %}
|
||||
{% for message in messages %}
|
||||
<div class="message">
|
||||
<div class="messageHeader">
|
||||
|
@ -62,6 +63,7 @@
|
|||
<div class="messageMessage">{{ message[4] }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endautoescape %}
|
||||
</div>
|
||||
<div id="messageBox" class="chat">
|
||||
<textarea id="messageTextarea"></textarea>
|
||||
|
|
Loading…
Reference in New Issue
Block a user