Skip to content

Commit

Permalink
format work titles in Javascript using HTML tags. #225
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jan 6, 2015
1 parent 9496c2f commit 94887ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/works/index.js
Expand Up @@ -67,7 +67,7 @@ function worksViz(json) {
.attr("class", "work")
.append("a")
.attr("href", function(d) { return "/works/" + work["id"]; })
.text(work["title"]);
.html(work["title"]);
d3.select("#results").append("p")
.text(formattedDate(date, date_parts.length) + ". ")
.append("a")
Expand Down

0 comments on commit 94887ce

Please sign in to comment.