From 8b154c0d5b9268d5e41a7774d6e87bbbac1a33e4 Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Thu, 23 Jul 2015 09:33:21 +0200 Subject: Add test for dual dialogue in FDX output --- tests/files/dual-dialogue.fountain.fdx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/files/dual-dialogue.fountain.fdx (limited to 'tests/files') diff --git a/tests/files/dual-dialogue.fountain.fdx b/tests/files/dual-dialogue.fountain.fdx new file mode 100644 index 0000000..16d022e --- /dev/null +++ b/tests/files/dual-dialogue.fountain.fdx @@ -0,0 +1,21 @@ + + + + + + + GIRL + + + Hey! + + + GUY + + + Hello! + + + + + -- cgit v1.2.3 From fd832267cf7b55b4d3cdc56e313eb2bec215cc55 Mon Sep 17 00:00:00 2001 From: michaelx386 Date: Fri, 18 Sep 2015 17:51:49 +0100 Subject: Parse files with BOM present; fixes #5 --- tests/files/utf-8-bom.fountain | 18 ++++++++++++++++ tests/files/utf-8-bom.fountain.fdx | 43 +++++++++++++++++++++++++++++++++++++ tests/files/utf-8-bom.fountain.html | 6 ++++++ 3 files changed, 67 insertions(+) create mode 100644 tests/files/utf-8-bom.fountain create mode 100644 tests/files/utf-8-bom.fountain.fdx create mode 100644 tests/files/utf-8-bom.fountain.html (limited to 'tests/files') diff --git a/tests/files/utf-8-bom.fountain b/tests/files/utf-8-bom.fountain new file mode 100644 index 0000000..ddfe1f9 --- /dev/null +++ b/tests/files/utf-8-bom.fountain @@ -0,0 +1,18 @@ +EXT. SOMEWHERE - DAY + +GUY and GURL walk down the street. + +It's a sunny day. +Sunnier than normal. +Too sunny to be funny. + +GUY +So what's up? + +GURL +Nothing much. +Just thinking. +And you? + +GUY +Nothing. \ No newline at end of file diff --git a/tests/files/utf-8-bom.fountain.fdx b/tests/files/utf-8-bom.fountain.fdx new file mode 100644 index 0000000..9701f3a --- /dev/null +++ b/tests/files/utf-8-bom.fountain.fdx @@ -0,0 +1,43 @@ + + + + + + EXT. SOMEWHERE - DAY + + + GUY and GURL walk down the street. + + + It's a sunny day. + + Sunnier than normal. + + Too sunny to be funny. + + + GUY + + + So what's up? + + + GURL + + + Nothing much. + + + Just thinking. + + + And you? + + + GUY + + + Nothing. + + + diff --git a/tests/files/utf-8-bom.fountain.html b/tests/files/utf-8-bom.fountain.html new file mode 100644 index 0000000..70043dd --- /dev/null +++ b/tests/files/utf-8-bom.fountain.html @@ -0,0 +1,6 @@ +
EXT. SOMEWHERE - DAY
+

GUY and GURL walk down the street.

+

It's a sunny day.
Sunnier than normal.
Too sunny to be funny.

+

GUY

So what's up?

+

GURL

Nothing much.

Just thinking.

And you?

+

GUY

Nothing.

-- cgit v1.2.3 From e76e044308a8d3b5fa93bc9a2657897c480bb782 Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Thu, 14 Apr 2016 00:10:15 +0200 Subject: Show multiple spaces in a row as is in HTML & PDF Not sure if FDX output should use   Let's keep using spaces for now. Closes #30 --- tests/files/indentation.fountain | 11 +++++++++++ tests/files/indentation.fountain.fdx | 24 ++++++++++++++++++++++++ tests/files/indentation.fountain.html | 6 ++++++ 3 files changed, 41 insertions(+) create mode 100644 tests/files/indentation.fountain create mode 100644 tests/files/indentation.fountain.fdx create mode 100644 tests/files/indentation.fountain.html (limited to 'tests/files') diff --git a/tests/files/indentation.fountain b/tests/files/indentation.fountain new file mode 100644 index 0000000..1640032 --- /dev/null +++ b/tests/files/indentation.fountain @@ -0,0 +1,11 @@ +EXT. INDENTATION TEST + + Four spaces + + Three spaces + + Two spaces + + One space + +No spaces diff --git a/tests/files/indentation.fountain.fdx b/tests/files/indentation.fountain.fdx new file mode 100644 index 0000000..958417f --- /dev/null +++ b/tests/files/indentation.fountain.fdx @@ -0,0 +1,24 @@ + + + + + + EXT. INDENTATION TEST + + + Four spaces + + + Three spaces + + + Two spaces + + + One space + + + No spaces + + + diff --git a/tests/files/indentation.fountain.html b/tests/files/indentation.fountain.html new file mode 100644 index 0000000..491b515 --- /dev/null +++ b/tests/files/indentation.fountain.html @@ -0,0 +1,6 @@ +
EXT. INDENTATION TEST
+

    Four spaces

+

   Three spaces

+

  Two spaces

+

 One space

+

No spaces

-- cgit v1.2.3