about summary refs log tree commit diff
path: root/spec/models/media_attachment_spec.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-02-16 04:40:53 +0100
committerGitHub <noreply@github.com>2018-02-16 04:40:53 +0100
commit1122579216a0ba6d081ff9ad14a1b501636f9601 (patch)
tree19b9273e8449eb0fea7d9762632b7d48058102b9 /spec/models/media_attachment_spec.rb
parent478ca39e5e8463044a259388459da56d2141e104 (diff)
Do not hide NSFW media/CW'd text in OpenGraph tags (#6479)
Reasoning: HTML title tag affects everyone. But OpenGraph only affects
when somebody is deliberately sharing the content, usually in an
environment where such content is expected. Hiding the content in
OpenGraph tags results in deceitful previews which inhibit the
shareability of the post.

Example: Somebody writes a clever post about politics but kindly
puts a "uspol" content warning on it. Mastodon users are thankful,
but sharing this post on another platform results in non-Mastodon
users believing the entire contents of the post is "uspol" and not
clicking through/reading and re-sharing.
Diffstat (limited to 'spec/models/media_attachment_spec.rb')
0 files changed, 0 insertions, 0 deletions