Fix haml-lint UnnecessaryStringOutput for views (#27531)

This commit is contained in:
Matt Jankowski 2023-10-25 08:01:00 -04:00 committed by GitHub
commit c926f5fd67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 22 additions and 42 deletions

View file

@ -6,7 +6,7 @@
= custom_emoji_tag(custom_emoji)
.batch-table__row__content__text
%samp= ":#{custom_emoji.shortcode}:"
%samp :#{custom_emoji.shortcode}:
- if custom_emoji.local?
%span.information-badge= custom_emoji.category&.name || t('admin.custom_emojis.uncategorized')