diff --git a/app/Models/Result.php b/app/Models/Result.php index e7ee28f9233d25f1313b0cf953c01125ec6918ea..4da2b07ae78f405bec5c4c00665e85c92be1cb74 100644 --- a/app/Models/Result.php +++ b/app/Models/Result.php @@ -33,6 +33,9 @@ class Result { $provider = simplexml_load_string($provider); $this->titel = strip_tags(trim($titel)); + if(stripos($anzeigeLink, "twitter.com")){ + $this->titel = '<i class="fa fa-twitter" aria-hidden="true"></i> ' . $this->titel; + } $this->link = trim($link); $this->anzeigeLink = trim($anzeigeLink); $this->descr = strip_tags(trim($descr), '<p>');