Added <bdi> to item titles
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user