diff --git a/lib/oneboxer/discourse_local_onebox.rb b/lib/oneboxer/discourse_local_onebox.rb index 970f0d5aa90..3914b0bee41 100644 --- a/lib/oneboxer/discourse_local_onebox.rb +++ b/lib/oneboxer/discourse_local_onebox.rb @@ -64,7 +64,7 @@ module Oneboxer category = topic.category if category - category = "#{category.name}" + category = "#{category.name}" end quote = post.excerpt(SiteSetting.post_onebox_maxlength)