From f937cad68f5343d114475cf870df2cd25895a7db Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 24 May 2017 21:32:53 +0900 Subject: Skip formatting for cashtag in status text (#3275) Resolve #3270 --- app/lib/extractor.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app') diff --git a/app/lib/extractor.rb b/app/lib/extractor.rb index c582b5e4d..957364293 100644 --- a/app/lib/extractor.rb +++ b/app/lib/extractor.rb @@ -56,4 +56,8 @@ module Extractor tags.each { |tag| yield tag[:hashtag], tag[:indices].first, tag[:indices].last } if block_given? tags end + + def extract_cashtags_with_indices(_text) + [] # always returns empty array + end end -- cgit