diff --git a/lib/onebox/engine/discourse_local_onebox.rb b/lib/onebox/engine/discourse_local_onebox.rb index 153a14b50..71a3afdcf 100644 --- a/lib/onebox/engine/discourse_local_onebox.rb +++ b/lib/onebox/engine/discourse_local_onebox.rb @@ -59,7 +59,7 @@ module Onebox category = topic.category if category - category = "#{category.name}" + category = "#{category.name}" end quote = post.excerpt(SiteSetting.post_onebox_maxlength)