mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 11:21:26 +08:00
UX: improvements to admin theme UI
This commit is contained in:
@ -93,7 +93,7 @@ registerIconRenderer({
|
||||
let tagName = params.tagName || "i";
|
||||
let html = `<${tagName} class='${faClasses(icon, params)}'`;
|
||||
if (params.title) {
|
||||
html += ` title='${I18n.t(params.title)}'`;
|
||||
html += ` title='${I18n.t(params.title).replace(/'/g, "'")}'`;
|
||||
}
|
||||
if (params.label) {
|
||||
html += " aria-hidden='true'";
|
||||
|
Reference in New Issue
Block a user