<%
var cache_badge = '';
for (var i=0; i<badges.length; i++)
{
cache_badge += " <a href='' data-toggle='popover' data-content='test' data-original-title='test'><img style='padding-right:10px' class='thumb' src='img/badges/" + badges[i].image + "' /></a>;
}
%>
An error is being thrown which states unexpected token ILLEGAL. Everything was functioning correctly until I included the data toggle content and original title attributes. What exactly within that code snippet might be the root cause of these issues?