Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix[Op#40437]: Use fully qualified ❤️

Kabiru Mwenjaa6427d331804
diff --git a/app/models/emoji_reaction.rb b/app/models/emoji_reaction.rb
index d6b01952fed..dc73fa68fc4 100644
--- a/app/models/emoji_reaction.rb
+++ b/app/models/emoji_reaction.rb
@@ -33,7 +33,7 @@ class EmojiReaction < ApplicationRecord
thumbs_down: "\u{1F44E}",
grinning_face_with_smiling_eyes: "\u{1F604}",
confused_face: "\u{1F615}",
- heart: "\u{2764}",
+ heart: "\u{2764 FE0F}",
party_popper: "\u{1F389}",
rocket: "\u{1F680}",
eyes: "\u{1F440}"
diff --git a/spec/models/emoji_reaction_spec.rb b/spec/models/emoji_reaction_spec.rb
index 8e1a7220b7a..00cbb7a960f 100644
--- a/spec/models/emoji_reaction_spec.rb
+++ b/spec/models/emoji_reaction_spec.rb
@@ -65,7 +65,7 @@ RSpec.describe EmojiReaction do
describe ".available_emojis" do
it "returns the available emojis as HTML codes" do
- expect(described_class.available_emojis).to eq(["👍", "👎", "😄", "😕", "❤", "🎉", "🚀", "👀"])
+ expect(described_class.available_emojis).to eq(["👍", "👎", "😄", "😕", "❤️", "🎉", "🚀", "👀"])
end
end