aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2019-02-21 21:20:46 +0100
committerMartin Vilcans <martin@librador.com>2019-02-21 21:20:46 +0100
commit4704104f02dfa5b49dd11a5e90c04101ef320bc1 (patch)
tree43bc4ae5dadd1516a34dee467dddb3c72bab3e4c
parentaa4119ced837d772cd11a81fd342ea2c5513fb6f (diff)
downloadscreenplain-4704104f02dfa5b49dd11a5e90c04101ef320bc1.tar.gz
Fountain treats a single space as an empty line
-rw-r--r--screenplain/parsers/fountain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenplain/parsers/fountain.py b/screenplain/parsers/fountain.py
index 9780982..1a72aa7 100644
--- a/screenplain/parsers/fountain.py
+++ b/screenplain/parsers/fountain.py
@@ -208,7 +208,7 @@ def _preprocess_line(raw_line):
def _is_blank(line):
- return line == ''
+ return line == '' or line == ' '
def parse(stream):