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:
parent
8c7b7c8d6b
commit
ea85b4a6d7
2 changed files with 2 additions and 2 deletions
|
@ -702,7 +702,7 @@ import { appRouter } from '../appRouter';
|
|||
|
||||
if (text) {
|
||||
html += "<div class='" + currentCssClass + "'>";
|
||||
html += text;
|
||||
html += '<bdi>' + text + '</bdi>';
|
||||
html += '</div>';
|
||||
valid++;
|
||||
|
||||
|
|
|
@ -497,7 +497,7 @@ function renderName(item, container, context) {
|
|||
html += '<h4 class="itemName infoText originalTitle">' + escapeHtml(item.OriginalTitle) + '</h4>';
|
||||
}
|
||||
|
||||
container.innerHTML = html;
|
||||
container.innerHTML = '<bdi>' + html + '</bdi>';
|
||||
|
||||
if (html.length) {
|
||||
container.classList.remove('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue