diff --git a/app/assets/javascripts/pretty-text/addon/emoji/version.js b/app/assets/javascripts/pretty-text/addon/emoji/version.js index a57796bd774..5b50dd5dec7 100644 --- a/app/assets/javascripts/pretty-text/addon/emoji/version.js +++ b/app/assets/javascripts/pretty-text/addon/emoji/version.js @@ -1,4 +1,4 @@ // DO NOT EDIT THIS FILE!!! // Update it by running `rake javascript:update_constants` -export const IMAGE_VERSION = "9"; +export const IMAGE_VERSION = "10"; diff --git a/app/models/emoji.rb b/app/models/emoji.rb index f755a7eaadf..d9f8c06d19a 100644 --- a/app/models/emoji.rb +++ b/app/models/emoji.rb @@ -2,7 +2,7 @@ class Emoji # update this to clear the cache - EMOJI_VERSION = "9" + EMOJI_VERSION = "10" FITZPATRICK_SCALE ||= [ "1f3fb", "1f3fc", "1f3fd", "1f3fe", "1f3ff" ] diff --git a/plugins/poll/spec/lib/pretty_text_spec.rb b/plugins/poll/spec/lib/pretty_text_spec.rb index 52fed2284ea..5770f804f3f 100644 --- a/plugins/poll/spec/lib/pretty_text_spec.rb +++ b/plugins/poll/spec/lib/pretty_text_spec.rb @@ -165,7 +165,7 @@ describe PrettyText do MD expect(cooked).to include(<<~HTML) -
-This is a quote with a regular emoji
+This is a quote with a regular emoji
-This is a quote with an emoji shortcut
+This is a quote with an emoji shortcut
-HTML @@ -180,13 +180,13 @@ describe PrettyText do html = <<~HTMLThis is a quote with a Unicode emoji
+This is a quote with a Unicode emoji
-This is a quote with a regular emoji
+This is a quote with a regular emoji
-This is a quote with an emoji shortcut
+This is a quote with an emoji shortcut
-HTML @@ -680,7 +680,7 @@ describe PrettyText do context "emojis" do it "should remove broken emoji" do html = <<~EOS -This is a quote with a Unicode emoji
+This is a quote with a Unicode emoji