diff --git a/lib/post_revisor.rb b/lib/post_revisor.rb index 6a97b166558..2c78c6ffa1b 100644 --- a/lib/post_revisor.rb +++ b/lib/post_revisor.rb @@ -393,11 +393,14 @@ class PostRevisor body = @post.cooked matches = body.scan(/\
(.*)\<\/p\>/) - if matches && matches[0] && matches[0][0] - new_description = matches[0][0] + + matches.each do |match| + next if match[0] =~ /\