diff options
-rw-r--r-- | app/lib/bangtags.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index a48b87155..7a83d2479 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -1353,7 +1353,7 @@ class Bangtags when 'eval' @crunch_newlines = true - @vars['_admin:eval'].strip! + @vars['_admin:eval']&.strip! @chunks << "\n<strong>Input:</strong>" @chunks << '<pre><code>' @chunks << html_entities.encode(@vars['_admin:eval']).gsub("\n", '<br/>') |