Fix <code> tag structure

This commit is contained in:
Cohee
2025-01-09 20:58:36 +02:00
parent ba73d278ae
commit 9be04fd69f

View File

@ -585,7 +585,7 @@ async function enlargeMessageImage() {
const imgHolder = document.createElement('div');
imgHolder.classList.add('img_enlarged_holder');
imgHolder.append(img);
const imgContainer = $('<div><pre><code class="img_enlarged_title"></code></code></pre></div>');
const imgContainer = $('<div><pre><code class="img_enlarged_title"></code></pre></div>');
imgContainer.prepend(imgHolder);
imgContainer.addClass('img_enlarged_container');