diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-19 10:28:16 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-19 10:28:16 +1100 |
commit | 234be3f4030077fa392079ddb89655ed3d2324e0 (patch) | |
tree | fc23a37d4542b59439767dc684d367ca45d4405a | |
parent | 870d948c27607634e94eaca467cefa0e66ac0eb1 (diff) |
Mark html for number of requests in categorisation game as html_safe
-rw-r--r-- | app/views/request_game/play.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/request_game/play.rhtml b/app/views/request_game/play.rhtml index eedf19ca2..3bd23e306 100644 --- a/app/views/request_game/play.rhtml +++ b/app/views/request_game/play.rhtml @@ -11,7 +11,7 @@ <tr> <td> <%= c += 1 %>. <td> <td> <%= user_link(classifications.user) %> </td> - <td> <%=pluralize(classifications.cnt, 'request').gsub(" ", " ")%> </td> + <td> <%=pluralize(classifications.cnt, 'request').gsub(" ", " ").html_safe %> </td> </tr> <% end %> </table> @@ -22,7 +22,7 @@ <tr> <td> <%= c += 1 %>. <td> <td> <%= user_link(classifications.user) %> </td> - <td> <%= pluralize(classifications.cnt, 'request').gsub(" ", " ")%> </td> + <td> <%= pluralize(classifications.cnt, 'request').gsub(" ", " ").html_safe %> </td> </tr> <% end %> </table> |