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