Use text() instead of html() to set language names

Change-Id: I1374ac3ed9273302ea268596918a72c6b7a48579
This commit is contained in:
Santhosh Thottingal
2013-11-01 10:33:36 +05:30
parent 240c06da62
commit 522b14fb23

View File

@@ -103,7 +103,7 @@
dir: $.uls.data.getDir( langCode ) dir: $.uls.data.getDir( langCode )
} ) } )
.append( .append(
$( '<a>' ).prop( 'title', language ).html( langName ) $( '<a>' ).prop( 'title', language ).text( langName )
); );
// Append the element to the column in the list // Append the element to the column in the list
@@ -235,7 +235,7 @@
dir: $.uls.data.getDir( langCode ) dir: $.uls.data.getDir( langCode )
} ) } )
.append( .append(
$( '<a>' ).prop( 'title', language ).html( langName ) $( '<a>' ).prop( 'title', language ).text( langName )
); );
$column.append( $li ); $column.append( $li );
} }