There seems to be a missing .html_safe call for the string generated by milestones_helper.rb
.html_safe
milestones_helper.rb