mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -44,7 +44,9 @@ class BasicGroupSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def bio_excerpt
|
||||
PrettyText.excerpt(object.bio_cooked, 110, keep_emoji_images: true) if object.bio_cooked.present?
|
||||
if object.bio_cooked.present?
|
||||
PrettyText.excerpt(object.bio_cooked, 110, keep_emoji_images: true)
|
||||
end
|
||||
end
|
||||
|
||||
def include_incoming_email?
|
||||
|
Reference in New Issue
Block a user