From 193b478bb82bf13a35ba775b4321e294f89ea5f7 Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Tue, 31 Jan 2012 21:38:34 +0100 Subject: Oops, blank lines weren't parsed as blank lines. This broke more or less everything in SPMD. Thanks, Anil! --- screenplain/parsers/spmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenplain/parsers/spmd.py b/screenplain/parsers/spmd.py index afa2717..2c552e9 100644 --- a/screenplain/parsers/spmd.py +++ b/screenplain/parsers/spmd.py @@ -24,7 +24,7 @@ slug_prefixes = ( TWOSPACE = ' ' * 2 centered_re = re.compile(r'\s*>\s*(.*)\s*<\s*$') -preprocess_re = re.compile(r'^(\s*)(.*?)([ \t]*)[\r\n]*$') +preprocess_re = re.compile(r'^([ \t]*)(.*?)([ \t]*)[\r\n]*$') def is_slug(blanks_before, line_list): -- cgit