User Tools

Site Tools


projects:matrix_owncast

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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)) {
projects/matrix_owncast.1617826003.txt.gz ยท Last modified: 2021/04/07 21:06 by admin