lib/danger/comment_generators/bitbucket_server.md.erb in danger-4.0.1 vs lib/danger/comment_generators/bitbucket_server.md.erb in danger-4.0.2
- old
+ new
@@ -1,20 +1,20 @@
<%- @tables.each do |table| -%>
<%- if table[:content].any? || table[:resolved].any? -%>
| | <%= table[:count] %> <%= table[:name] %><%= "s" unless table[:count] == 1 %> |
|---|---|
<%- table[:content].each do |violation| -%>
-| <%= character_from_emoji(table[:emoji]) %> | <%= violation.message %> |
+| <%= @emoji_mapper.map(table[:emoji]) %> | <%= violation.message %> |
<%- end -%>
<%- table[:resolved].each do |message| -%>
-| :white_check_mark: | <%= message %> |
+| @emoji_mapper.map("white_check_mark") | <%= message %> |
<%- end -%>
<%- end -%>
<%- end -%>
<%- @markdowns.each do |current| -%>
<%= current %>
<%# the previous line has to be aligned far to the left, otherwise markdown can break easily %>
<%- end -%>
-Generated by 🚫 [danger](https://danger.systems/ "generated_by_<%= @danger_id %>")
+Generated by [danger](https://danger.systems/ "generated_by_<%= @danger_id %>")