X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=showmore%2Fshowmore.php;h=9a136c7f23eb319c183cbfd1c869493444896912;hb=bbc8a1328dbb7168f42c605325c1aee31b15a5cf;hp=de8c2f0740eca7bb9c8af9daab40154289641551;hpb=27a924f286534cfb167317c64d6f4d5f374593dd;p=friendica-addons.git diff --git a/showmore/showmore.php b/showmore/showmore.php index de8c2f07..9a136c7f 100755 --- a/showmore/showmore.php +++ b/showmore/showmore.php @@ -34,8 +34,14 @@ function showmore_addon_settings(&$a,&$s) { if(!$chars) $chars = '1100'; - $s .= '
'; + $s .= ''; $s .= '

' . t('"Show more" Settings').'

'; + $s .= '
'; + $s .= ''; @@ -77,7 +83,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); /*