summaryrefslogtreecommitdiff
path: root/fountain
diff options
context:
space:
mode:
Diffstat (limited to 'fountain')
-rw-r--r--fountain/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fountain/parse.go b/fountain/parse.go
index d537665..60ea6b5 100644
--- a/fountain/parse.go
+++ b/fountain/parse.go
@@ -170,7 +170,7 @@ func Parse(scenes []string, file io.Reader) (out lex.Screenplay) {
out = append(out, lex.Line{Type: "titlepage"})
}
split := strings.SplitN(row, ":", 2)
- if len(split) == 2 {
+ if len(split) == 2 && !strings.HasPrefix(row, " ") {
action = split[0]
switch strings.ToLower(action) {
case "title", "credit", "author", "authors":