Skip to content

Commit

Permalink
WebHost: fix option doc indent (ArchipelagoMW#3513)
Browse files Browse the repository at this point in the history
* WebHost: fix option doc indent

* Update macros.html
  • Loading branch information
Berserker66 authored and qwint committed Jun 24, 2024
1 parent fe86ba0 commit e0682a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebHostLib/templates/playerOptions/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
{% macro OptionTitle(option_name, option) %}
<label for="{{ option_name }}">
{{ option.display_name|default(option_name) }}:
<span class="interactive" data-tooltip="{% filter dedent %}{{(option.__doc__ | default("Please document me!"))|escape }}{% endfilter %}">(?)</span>
<span class="interactive" data-tooltip="{{(option.__doc__ | default("Please document me!"))|replace('\n ', '\n')|escape|trim}}">(?)</span>
</label>
{% endmacro %}

Expand Down

0 comments on commit e0682a7

Please sign in to comment.