about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/lib/bangtags.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 53c63bf78..59ec16a23 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -712,6 +712,11 @@ class Bangtags
           @component_stack.push(:var)
           add_tags(status, 'self.draft')
 
+        when 'hidden'
+          chunk = nil
+          @status.hidden = true
+          @status.keep_hidden!
+
         when 'format', 'type'
           chunk = nil
           next if cmd[1].nil?