Uniform icon indicating copy to clipboard operation
Uniform copied to clipboard

Ampersand problem in select lists [resolved]

Open pngised opened this issue 15 years ago • 1 comments

Hi, I use your plugin in a site where there are some select lists in which there are ampersand in the label (ie. Tradizione & innovazione).

The problem:
When selected the & became &

Solution (hope this is valid) in minified file:
line 136 ---> l.text(o.find(":selected").text());
instead of:
l.text(o.find(":selected").html());

EDIT
as find in issue n°148 the better way is to have: l.html(o.find(":selected").html());

pngised avatar Mar 21 '11 14:03 pngised

Apologize, I find the 148 after open this issue

pngised avatar Mar 21 '11 15:03 pngised