This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
projects:matrix_owncast [2021/04/07 21:06] admin |
projects:matrix_owncast [2021/04/07 21:18] (current) admin |
||
---|---|---|---|
Line 28: | Line 28: | ||
if($line['type'] == "CHAT") { | if($line['type'] == "CHAT") { | ||
if(!array_key_exists($line['id'], $tracker)) { | if(!array_key_exists($line['id'], $tracker)) { | ||
- | $str = "<Owncast: ".$line['author']."> ".htmlspecialchars_decode(strip_tags($line['body'])); | + | $str = "<Owncast: ".$line['author']."> ".htmlspecialchars_decode(strip_tags($line['body']), ENT_QUOTES); |
$tracker[$line['id']] = strip_tags($line['body']); | $tracker[$line['id']] = strip_tags($line['body']); | ||
if(!empty($str)) { | if(!empty($str)) { |