mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-04 13:58:42 +00:00
tabs2spaces
This commit is contained in:
parent
ffc966d72f
commit
70c39d1618
1 changed files with 7 additions and 6 deletions
|
@ -70,9 +70,10 @@ class Url
|
||||||
|
|
||||||
//hasChildren does not seem to work, just check the string
|
//hasChildren does not seem to work, just check the string
|
||||||
//returned (and do not forget to clean the white spaces)
|
//returned (and do not forget to clean the white spaces)
|
||||||
if (preg_replace('/\s+/', '', $body->value) !== "<body></body>")
|
if (preg_replace('/\s+/', '', $body->value) !== "<body></body>") {
|
||||||
$html = $tidy->value;
|
$html = $tidy->value;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
if (isset($html) and strlen($html) > 0)
|
if (isset($html) and strlen($html) > 0)
|
||||||
|
|
Loading…
Reference in a new issue