FIX: Do not count youtube thumbnail when counting post images (#10049)

FIX: Do not count youtube thumbnail when counting post images (#10049)

diff --git a/app/models/post.rb b/app/models/post.rb
index 36522ae..9f0b520 100644
--- a/app/models/post.rb
+++ b/app/models/post.rb
@@ -255,7 +255,7 @@ class Post < ActiveRecord::Base
   end
 
   def self.white_listed_image_classes
-    @white_listed_image_classes ||= ['avatar', 'favicon', 'thumbnail', 'emoji']
+    @white_listed_image_classes ||= ['avatar', 'favicon', 'thumbnail', 'emoji', 'ytp-thumbnail-image']
   end
 
   def post_analyzer

GitHub sha: a2f80670

This commit appears in #10049 which was merged by davidtaylorhq.