Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
670f0d49
Commit
670f0d49
authored
Aug 11, 2017
by
Dominik Hebeler
Browse files
Twitter Vogel für Twitter Ergebnisse eingefügt
parent
d81e0f6a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Models/Result.php
View file @
670f0d49
...
...
@@ -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>'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment