1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Added <bdi> to item titles

This commit is contained in:
Hadi Charara 2022-07-03 15:05:09 -04:00
parent 8c7b7c8d6b
commit ea85b4a6d7
2 changed files with 2 additions and 2 deletions

View file

@ -702,7 +702,7 @@ import { appRouter } from '../appRouter';
if (text) { if (text) {
html += "<div class='" + currentCssClass + "'>"; html += "<div class='" + currentCssClass + "'>";
html += text; html += '<bdi>' + text + '</bdi>';
html += '</div>'; html += '</div>';
valid++; valid++;

View file

@ -497,7 +497,7 @@ function renderName(item, container, context) {
html += '<h4 class="itemName infoText originalTitle">' + escapeHtml(item.OriginalTitle) + '</h4>'; html += '<h4 class="itemName infoText originalTitle">' + escapeHtml(item.OriginalTitle) + '</h4>';
} }
container.innerHTML = html; container.innerHTML = '<bdi>' + html + '</bdi>';
if (html.length) { if (html.length) {
container.classList.remove('hide'); container.classList.remove('hide');