Improve RTL detection (#3682)
- Use plaintext - Strip out URLs - Strip out mentions - Strip out hashtags - Strip out whitespace from "overall" count - Consistent between JS and Ruby
Showing
- app/helpers/stream_entries_helper.rb 18 additions, 1 deletionapp/helpers/stream_entries_helper.rb
- app/javascript/mastodon/components/status_content.js 1 addition, 1 deletionapp/javascript/mastodon/components/status_content.js
- app/javascript/mastodon/rtl.js 5 additions, 1 deletionapp/javascript/mastodon/rtl.js
- 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
Please register or sign in to comment