akkoma/test
Mark Felder 72d4d1b392 Fix TwitterCard meta tags
TwitterCard meta tags are supposed to use the attributes "name" and "content".
OpenGraph tags use the attributes "property" and "content".

Twitter itself is smart enough to detect broken meta tags and discover the TwitterCard
using "property" and "content", but other platforms that only implement parsing of TwitterCards
and not OpenGraph may fail to correctly detect the tags as they're under the wrong attributes.

> "Open Graph protocol also specifies the use of property and content attributes for markup while
> Twitter cards use name and content. Twitter’s parser will fall back to using property and content,
> so there is no need to modify existing Open Graph protocol markup if it already exists." [0]

[0] https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
2022-12-19 17:23:12 -05:00
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Copyright bump for 2022 2022-02-25 23:11:42 -07:00
fixtures Remove Quack logging backend 2022-11-11 12:36:29 -05:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Remove Quack logging backend 2022-11-11 12:36:29 -05:00
pleroma Fix TwitterCard meta tags 2022-12-19 17:23:12 -05:00
support expanding WebFinger 2022-11-03 09:48:24 -04:00
test_helper.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00