Skip to content

Commit e8614bd

Browse files
committed
Remove change from other branch
1 parent 113acae commit e8614bd

File tree

1 file changed

+2
-3
lines changed
  • app/services/discourse_translator

1 file changed

+2
-3
lines changed

app/services/discourse_translator/base.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ def self.strip_tags_for_detection(detection_text)
7979
end
8080

8181
def self.text_for_detection(topic_or_post)
82-
strip_tags_for_detection(get_text(topic_or_post)).truncate(
83-
DETECTION_CHAR_LIMIT,
84-
omission: nil,
82+
strip_tags_for_detection(
83+
get_text(topic_or_post).truncate(DETECTION_CHAR_LIMIT, omission: nil),
8584
)
8685
end
8786

0 commit comments

Comments
 (0)