From 625c441d4858880bba586e48512ce2959244063e Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sat, 9 May 2015 19:41:57 +1000 Subject: [PATCH] * Text::Dokuwiki::Render : add default list level --- lib/Text/Dokuwiki/Render.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }