diff options
author | Joop Kiefte <ikojba@gmail.com> | 2020-11-09 20:02:15 +0200 |
---|---|---|
committer | Joop Kiefte <ikojba@gmail.com> | 2020-11-09 20:02:15 +0200 |
commit | e24903a7d1f1f314a55ee97748de24f701f9ff8d (patch) | |
tree | a64e19a5e9d0e740a72096ecc4321040bf7d748e /fountain | |
parent | 68f8eda479958fcf363052262e5cce31da2a8b1c (diff) |
Correct several prefix dot bug
Diffstat (limited to 'fountain')
-rw-r--r-- | fountain/parse.go | 2 |
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 } |