Use text() instead of html() to set language names
Change-Id: I1374ac3ed9273302ea268596918a72c6b7a48579
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
dir: $.uls.data.getDir( langCode )
|
||||
} )
|
||||
.append(
|
||||
$( '<a>' ).prop( 'title', language ).html( langName )
|
||||
$( '<a>' ).prop( 'title', language ).text( langName )
|
||||
);
|
||||
|
||||
// Append the element to the column in the list
|
||||
@@ -235,7 +235,7 @@
|
||||
dir: $.uls.data.getDir( langCode )
|
||||
} )
|
||||
.append(
|
||||
$( '<a>' ).prop( 'title', language ).html( langName )
|
||||
$( '<a>' ).prop( 'title', language ).text( langName )
|
||||
);
|
||||
$column.append( $li );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user