Merge pull request #26456 from overleaf/td-limit-browser-translate-non-react-icons

Prevent browser translation of icons in Pug pages

GitOrigin-RevId: 97e4d3ba70a4c95bed2c9f52e66038911625613d
This commit is contained in:
Tim Down
2025-06-23 08:05:06 +00:00
committed by Copybot
parent 069e42e763
commit 19dc71f414
19 changed files with 73 additions and 45 deletions
@@ -17,6 +17,7 @@ export class TableRenderingErrorWidget extends WidgetType {
const iconType = document.createElement('span')
iconType.classList.add('material-symbols')
iconType.setAttribute('aria-hidden', 'true')
iconType.setAttribute('translate', 'no')
iconType.textContent = 'info'
icon.appendChild(iconType)
warning.appendChild(icon)