about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/lib/bangtags.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 2fb1324a9..4a5adcaad 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -116,7 +116,7 @@ class Bangtags
         chunk.sub!(/(\\:)?+:+?!#\Z/, '\1')
         chunk.sub!(/{(.*)}\Z/, '\1')
 
-        elsif @vore_stack.last != '_comment'
+        if @vore_stack.last != '_comment'
           cmd = chunk[2..-1].strip
           next if cmd.blank?