From e24903a7d1f1f314a55ee97748de24f701f9ff8d Mon Sep 17 00:00:00 2001 From: Joop Kiefte Date: Mon, 9 Nov 2020 20:02:15 +0200 Subject: Correct several prefix dot bug --- fountain/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fountain') 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 } -- cgit v1.2.3-70-g09d2