diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-22 17:14:38 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | 534e19cbe3a3b234403fe6907cc9cb332eb5e456 (patch) | |
tree | 8bcae7de7d07a12112382e45428f8b1f2c2aa2b8 /app/lib | |
parent | af7e3a88d4a6574564b75da1ddd56b45819fd0a7 (diff) |
Stylistic: use em dash for signature prefix.
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/bangtags.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 2c807166d..534617d05 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -419,9 +419,9 @@ class Bangtags name = @vars['_they:are'] next if name.blank? description = @vars["_they:are:#{name}"] - next if description.blank? || @chunks.last.starts_with?('–') + next if description.blank? || @chunks.last.starts_with?('—') status.local_only = true if Status::LOCAL_ONLY_TOKENS.match?(@chunks.last) - @chunks << "\n\n---\n– #{description}" + @chunks << "\n\n---\n— #{description}" when 'media' media_idx = post_cmd[1] media_cmd = post_cmd[2] |