mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
Issue 9912: Process Markdown content from Peertube
This commit is contained in:
parent
f24deebc7f
commit
8c748f03f9
3 changed files with 65 additions and 4 deletions
|
@ -1503,6 +1503,10 @@ class Item
|
|||
*/
|
||||
private static function getLanguage(array $item)
|
||||
{
|
||||
if (!empty($item['language'])) {
|
||||
return $item['language'];
|
||||
}
|
||||
|
||||
if (!in_array($item['gravity'], [GRAVITY_PARENT, GRAVITY_COMMENT]) || empty($item['body'])) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue