]> cat aescling's git repositories - mastodon.git/commit
Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
authorR Tucker <github@ryantucker.us>
Wed, 10 May 2017 02:47:25 +0000 (22:47 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 10 May 2017 02:47:25 +0000 (04:47 +0200)
commite2491680e696d2c285a798ec4c66b26d2748df66
tree1c5438c06d4917b7c2e49fa64dc5e8bbf696496b
parent3a38322a54f0eeb3eba037a4fd61a072bda44311
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
app/lib/formatter.rb
app/services/process_hashtags_service.rb
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml