WebHost: fix option doc indent (#3513)

* WebHost: fix option doc indent

* Update macros.html
This commit is contained in:
Fabian Dill 2024-06-13 23:37:52 +02:00 committed by GitHub
parent 533395d336
commit e9ad7cb797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}