settings: Use .text() instead of .html() for option's label

Bug: T88171
Change-Id: I5d4631870f916194901f897839cad4c90c2d8d01
This commit is contained in:
Prateek Saxena 2015-03-24 13:36:07 +05:30
parent cd3aeeca41
commit 3b82fb60d9

View file

@ -116,7 +116,7 @@
} ),
$label = $( '<label>' )
.attr( 'for', domId )
.html( content[ 1 ] )
.text( content[ 1 ] )
.prepend( $( '<span>' ).text( content[ 0 ] ) ),
$p = $( '<p>' ).append( $input, $label );