fix signatures

This commit is contained in:
flash 2017-03-22 21:54:48 +01:00
parent 926948b76d
commit 9150d1b7cb
2 changed files with 3 additions and 3 deletions

View file

@ -224,7 +224,7 @@
{% if post.poster.signature and post.poster.perms.changeSignature %}
<div class="post__signature bbcode">
{{ post.poster.signature|raw|nl2br }}
{{ post.poster.signature()|raw }}
</div>
{% endif %}
</div>
@ -270,7 +270,7 @@
{% if user.signature and user.perms.changeSignature %}
<div class="post__signature bbcode">
{{ user.signature|raw|nl2br }}
{{ user.signature()|raw }}
</div>
{% endif %}
</div>

View file

@ -7,7 +7,7 @@
{% endblock %}
{% block settingsContent %}
<div class="bbcode" id="settingsPreview" style="max-height: 500px; overflow-y: auto; background: #C2AEEE; box-shadow: inset 0 0 1em 1em #D3BFFF;">{{ user.signature()|raw|nl2br }}</div>
<div class="bbcode" id="settingsPreview" style="max-height: 500px; overflow-y: auto; background: #C2AEEE; box-shadow: inset 0 0 1em 1em #D3BFFF;">{{ user.signature()|raw }}</div>
<hr>
<form enctype="multipart/form-data" method="post" action="javascript:;" onsubmit="updateSettings(this, '{{ route('settings.account.signature') }}');">
<input type="hidden" name="session" value="{{ session_id() }}">