By the way Vincent, I think that that is a good argument in favor of external javascript files instead of inlined ones (as are enabling compression, caching, etc.)
return function(row) {
regexp = new RegExp('(' + RegExp.escape(block.value) + ')', 'i');
- name = row[0].replace(regexp, '<strong>$1</strong>');
+ name = row[0].replace(regexp, '<strong>$1<\/strong>');
if (row[1] == 1) {
return name;
}
- return name + '<em> - '+ row[1] + ' camarades</em>';
+ return name + '<em> - ' + row[1] + ' camarades<\/em>';
};
}