add line breaks around [quote] in reply button reply markup

This commit is contained in:
2025-08-09 12:48:04 +03:00
parent b0fd2a4f0c
commit c68ead85c0

View File

@ -143,7 +143,7 @@
{% if show_reply %} {% if show_reply %}
{% set qtext = "[url=%s]%s said:[/url]" | format(post_permalink, post['username']) %} {% set qtext = "[url=%s]%s said:[/url]" | format(post_permalink, post['username']) %}
{% set reply_text = "%s\n[quote]%s[/quote]\n" | format(qtext, post['original_markup']) %} {% set reply_text = "%s\n[quote]\n%s\n[/quote]\n" | format(qtext, post['original_markup']) %}
<button value="{{ reply_text }}" class="reply-button">Quote</button> <button value="{{ reply_text }}" class="reply-button">Quote</button>
{% endif %} {% endif %}