diff --git a/scripts/generate.py b/scripts/generate.py index c158295..3c9252e 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -476,7 +476,7 @@ def render_block(content, acc, _class, is_code): acc.append('') def unindent(content): - base_indentation = min([ + base_indentation = min([0] + [ len(l) - len(l.lstrip(' ')) for l in content.split('\n') if len(l.strip()) > 0