I\'m trying to get the weather icon to show in a map marker using wunderground\'s api, Leaflet and Cloudmade. I\'ve got the text showing and a variable with the icon image,
The marker's bindPopup method just takes HTML content as a string, so you'll need to surround your tags with quotes as well - something like
marker1.bindPopup( "<img src=" + icon_url + "/> Current temperature in " + location + " is: " + temp_f)
ought to work for you.