mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-09 09:36:50 +01:00
- Fix handling of folders with name "0" (#1487119)
This commit is contained in:
@@ -75,7 +75,7 @@ class html
|
||||
$suffix = $attrib['nl'] || ($content && $attrib['nl'] !== false && !in_array($tagname, $inline_tags)) ? "\n" : '';
|
||||
|
||||
$tagname = self::$lc_tags ? strtolower($tagname) : $tagname;
|
||||
if ($content || in_array($tagname, self::$containers)) {
|
||||
if (isset($content) || in_array($tagname, self::$containers)) {
|
||||
$templ = $attrib['noclose'] ? "<%s%s>%s" : "<%s%s>%s</%s>%s";
|
||||
unset($attrib['noclose']);
|
||||
return sprintf($templ, $tagname, self::attrib_string($attrib, $allowed_attrib), $content, $tagname, $suffix);
|
||||
|
||||
Reference in New Issue
Block a user