Add opt out from math in query string

This commit is contained in:
Yusur 2022-06-07 17:56:06 +02:00
parent 5f06aa7e9b
commit 249fdad1bc
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
{% block history_nav %}{% endblock %}
<div class="inner-content">
{{ rev.html()|safe }}
{{ rev.html(math = request.args.get('math') not in ['0', 'false', 'no', 'off'])|safe }}
</div>
{% if p.tags %}