diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-05 09:25:57 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-05 09:25:57 +0200 |
commit | c77a8497e7c4b04dd881e55341c779f6fe5ffa34 (patch) | |
tree | 4f95ce90e8c2cf4293a3bb939616252661fee5e0 /program/lib | |
parent | adaddf0b188eca228d626973f193b2a51de2dbe7 (diff) |
Fix again xdebug.max_nesting_level limit handling (#1489110)
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/rcube_washtml.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/program/lib/Roundcube/rcube_washtml.php b/program/lib/Roundcube/rcube_washtml.php index 51f7930aa..e9fec54b3 100644 --- a/program/lib/Roundcube/rcube_washtml.php +++ b/program/lib/Roundcube/rcube_washtml.php @@ -283,10 +283,12 @@ class rcube_washtml /** * The main loop that recurse on a node tree. - * It output only allowed tags with allowed attributes - * and allowed inline styles + * It output only allowed tags with allowed attributes and allowed inline styles + * + * @param DOMNode $node HTML element + * @param int $level Recurrence level (safe initial value found empirically) */ - private function dumpHtml($node, $level = 0) + private function dumpHtml($node, $level = 20) { if (!$node->hasChildNodes()) { return ''; |