Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
* services: scan spoiler_text for hashtags (#699) * views: link hashtags from spoiler_texts This covers linking hashtags from within the spoiler text on the server-generated pages. * services: fix string concat going into hashtag RE Cleaner Ruby syntax, may handle immutable strings better
Showing
- app/lib/formatter.rb 11 additions, 0 deletionsapp/lib/formatter.rb
- app/services/process_hashtags_service.rb 2 additions, 1 deletionapp/services/process_hashtags_service.rb
- app/views/stream_entries/_detailed_status.html.haml 1 addition, 1 deletionapp/views/stream_entries/_detailed_status.html.haml
- app/views/stream_entries/_simple_status.html.haml 1 addition, 1 deletionapp/views/stream_entries/_simple_status.html.haml
Loading
Please register or sign in to comment