https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b6041
)
Avoid HTML in ParseUrl desriptions
author
Michael
<heluecht@pirati.ca>
Sun, 28 Mar 2021 11:32:26 +0000
(11:32 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 28 Mar 2021 11:32:26 +0000
(11:32 +0000)
src/Util/ParseUrl.php
patch
|
blob
|
history
diff --git
a/src/Util/ParseUrl.php
b/src/Util/ParseUrl.php
index
0ba0bc2
..
dc5648d
100644
(file)
--- a/
src/Util/ParseUrl.php
+++ b/
src/Util/ParseUrl.php
@@
-714,7
+714,7
@@
class ParseUrl
array_walk_recursive($siteinfo, function (&$element) {
if (is_string($element)) {
- $element =
html_entity_decode($element, ENT_COMPAT, 'UTF-8'
);
+ $element =
trim(strip_tags(html_entity_decode($element, ENT_COMPAT, 'UTF-8'))
);
}
});