summaryrefslogtreecommitdiff
path: root/fountain
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2020-11-09 20:02:15 +0200
committerJoop Kiefte <ikojba@gmail.com>2020-11-09 20:02:15 +0200
commite24903a7d1f1f314a55ee97748de24f701f9ff8d (patch)
treea64e19a5e9d0e740a72096ecc4321040bf7d748e /fountain
parent68f8eda479958fcf363052262e5cce31da2a8b1c (diff)
Correct several prefix dot bug
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 c47e537..801bc7e 100644
--- a/fountain/parse.go
+++ b/fountain/parse.go
@@ -31,7 +31,7 @@ func CheckScene(row string) (bool, string, string) {
scene = true
}
}
- if strings.HasPrefix(row, ".") {
+ if strings.HasPrefix(row, ".") && !strings.HasPrefix(row, "..") {
row = row[1:]
scene = true
}