tippy: Fix `cancel button` tooltip in compose box.

Add `data-tippy-allowHTML="true"` in button tag and fix the tooltip
for cancel button in compose box.
This commit is contained in:
jai2201 2022-03-02 14:21:48 +05:30 committed by Anders Kaseorg
parent bdcd9da7e9
commit a8b948c086
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
<div id="compose_top_right" class="order-2">
<button type="button" class="expand_composebox_button fa fa-angle-up" aria-label="{{t 'Expand compose' }}" data-tippy-content="{{t 'Expand compose' }}"></button>
<button type="button" class="collapse_composebox_button fa fa-angle-down" aria-label="{{t 'Collapse compose' }}" data-tippy-content="{{t 'Collapse compose' }}"></button>
<button type="button" class="close" id='compose_close' data-tippy-content="{{t 'Cancel compose' }} <span class='hotkey-hint'>(Esc)</span>">&times;</button>
<button type="button" class="close" id='compose_close' data-tippy-content="{{t 'Cancel compose' }} &lt;span class='hotkey-hint'&gt;(Esc)&lt;/span&gt;" data-tippy-allowHTML="true">&times;</button>
</div>
<div id="stream-message" class="order-1">
<div class="stream-selection-header-colorblock message_header_stream left_part" tab-index="-1"></div>