From 670f0d49b65039c00ac09f3be6b8aed0e9c2aa6a Mon Sep 17 00:00:00 2001 From: Dominik Pfennig <dominik@suma-ev.de> Date: Fri, 11 Aug 2017 12:15:41 +0200 Subject: [PATCH] =?UTF-8?q?Twitter=20Vogel=20f=C3=BCr=20Twitter=20Ergebnis?= =?UTF-8?q?se=20eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Result.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Models/Result.php b/app/Models/Result.php index e7ee28f92..4da2b07ae 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>'); -- GitLab