diff --git a/lib/Text/Dokuwiki/Render.pm b/lib/Text/Dokuwiki/Render.pm index 17c7272..16a1aab 100644 --- a/lib/Text/Dokuwiki/Render.pm +++ b/lib/Text/Dokuwiki/Render.pm @@ -6,7 +6,9 @@ use utf8; sub new { my ($class) = @_; - my $self = {}; + my $self = { + list_depth => 0, + }; return bless($self, $class); }