This website works better with JavaScript.
Explore
Help
Sign In
MetuFSS
/
metu.life
Watch
2
Star
1
Fork
You've already forked metu.life
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5116
Commits
1
Branch
0
Tags
134 MiB
Tag:
Branch:
Tree:
cdf8b92fea
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'cdf8b92fea'
${ noResults }
metu.life
/
app
/
views
/
stream_entries
/
_og_description.html.haml
2 lines
99 B
Raw
Normal View
History
Unescape
Escape
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.
7 years ago
= opengraph 'og:description', [activity.spoiler_text, activity.text].reject(&:blank?).join("\n\n")