aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2012-01-31 21:38:34 +0100
committerMartin Vilcans <martin@librador.com>2012-01-31 21:42:33 +0100
commit193b478bb82bf13a35ba775b4321e294f89ea5f7 (patch)
tree1eb904b8f90aa95993247c8b2bcd646bad09f6a8
parent670f863d6823686a81becd5d5f858223ab35bb22 (diff)
downloadscreenplain-193b478bb82bf13a35ba775b4321e294f89ea5f7.tar.gz
Oops, blank lines weren't parsed as blank lines.
This broke more or less everything in SPMD. Thanks, Anil!
-rw-r--r--screenplain/parsers/spmd.py2
1 files changed, 1 insertions, 1 deletions
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):