Skip to content

Commit

Permalink
Update help_doc_detail.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf authored Nov 30, 2024
1 parent 544a416 commit 6589c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/templates/help_doc_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h3>{{ help_name }}</h3>
{% if doc == msg.locale.t("core.help.options") %}
<div class="available-options-header">{{ msg.locale.t("core.help.options") }}</div>
{% else %}
<div class="help-detail">{{ escape(doc) }}</div>
<div class="help-detail">{{ escape(doc) | safe }}</div>
{% endif %}
{% endfor %}
</div>
Expand All @@ -147,7 +147,7 @@ <h3>{{ help_name }}</h3>
{% set pattern = regex.pattern if isinstance(regex.pattern, str) else
(regex.pattern.pattern if isinstance(regex.pattern, repattern) else None) %}
{% if pattern %}
<div class="help-detail">{{ escape(pattern) }} {{ msg.locale.t("core.message.help.regex.detail",
<div class="help-detail">{{ escape(pattern) | safe }} {{ msg.locale.t("core.message.help.regex.detail",
msg=msg.locale.t_str(regex.desc)) if regex.desc else
msg.locale.t("core.message.help.regex.no_information") }}</div>
{%- endif %}
Expand Down

0 comments on commit 6589c8c

Please sign in to comment.