diff options
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/command_tag/command/footer_tools.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/lib/command_tag/command/footer_tools.rb b/app/lib/command_tag/command/footer_tools.rb index 162b66d85..2fada5a1d 100644 --- a/app/lib/command_tag/command/footer_tools.rb +++ b/app/lib/command_tag/command/footer_tools.rb @@ -17,12 +17,12 @@ module CommandTag::Command::FooterTools if name == 'default' name = normalize(args.shift) var_name = "persist:footer:#{name}" - @vars[var_name] = [args.join(' ')] if args.present? + @vars[var_name] = [args.join(' ').strip] if args.present? @vars['persist:footer:default'] = var(var_name) elsif %w(default DEFAULT).include?(args[0]) @vars['persist:footer:default'] = var(var_name) else - @vars[var_name] = [args.join(' ')] + @vars[var_name] = [args.join(' ').strip] end @status.footer = var(var_name)[0] @@ -33,4 +33,4 @@ module CommandTag::Command::FooterTools alias handle_sig_before_save handle_footer_before_save alias handle_am_before_save handle_footer_before_save alias handle_are_before_save handle_footer_before_save -end \ No newline at end of file +end |