Might be better to construct the element with jQuery's object-based syntax: `$("<span>", {"class": "unanswered", "style": "display: inline-block;", "id": "status_#{id}"})`