https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a924f
)
Oooops, put back the warnings ignore for DomDocument
author
Domovoy
<domovoy@errlock.org>
Fri, 27 Jul 2012 08:12:12 +0000
(10:12 +0200)
committer
Domovoy
<domovoy@errlock.org>
Fri, 27 Jul 2012 08:12:12 +0000
(10:12 +0200)
showmore/showmore.php
patch
|
blob
|
history
diff --git
a/showmore/showmore.php
b/showmore/showmore.php
index
de8c2f0
..
1f40b02
100755
(executable)
--- a/
showmore/showmore.php
+++ b/
showmore/showmore.php
@@
-77,7
+77,7
@@
function get_body_length($body) {
// We need to get rid of hidden tags (display: none)
// Get rid of the warning. It would be better to have some valid html as input
- $dom = DomDocument::loadHTML($body);
+ $dom =
@
DomDocument::loadHTML($body);
$xpath = new DOMXPath($dom);
/*