aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2012-07-10 00:40:49 +0200
committerMartin Vilcans <martin@librador.com>2012-07-10 00:40:49 +0200
commitf0fea172c34f62f8a35b1c28549e25e4a30589c5 (patch)
treeb0ec59efc9d32500ce0d5aac3a3489523fb91934 /tests/files
parent6b8ecde671306398f1c242df74ef918e12724f35 (diff)
downloadscreenplain-f0fea172c34f62f8a35b1c28549e25e4a30589c5.tar.gz
Strip leading and trailing whitespace from character names.
Closes #2
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/dialogue.fountain5
-rw-r--r--tests/files/dialogue.fountain.fdx17
-rw-r--r--tests/files/dialogue.fountain.html2
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/files/dialogue.fountain b/tests/files/dialogue.fountain
new file mode 100644
index 0000000..e4a2ac2
--- /dev/null
+++ b/tests/files/dialogue.fountain
@@ -0,0 +1,5 @@
+GIRL
+Let me tell you something.
+
+ GUY
+ I don't wanna.
diff --git a/tests/files/dialogue.fountain.fdx b/tests/files/dialogue.fountain.fdx
new file mode 100644
index 0000000..4953b17
--- /dev/null
+++ b/tests/files/dialogue.fountain.fdx
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<FinalDraft DocumentType="Script" Template="No" Version="1">
+<Content>
+<Paragraph Type="Character">
+<Text>GIRL</Text>
+</Paragraph>
+<Paragraph Type="Dialogue">
+<Text>Let me tell you something.</Text>
+</Paragraph>
+<Paragraph Type="Character">
+<Text>GUY</Text>
+</Paragraph>
+<Paragraph Type="Dialogue">
+<Text>I don't wanna.</Text>
+</Paragraph>
+</Content>
+</FinalDraft>
diff --git a/tests/files/dialogue.fountain.html b/tests/files/dialogue.fountain.html
new file mode 100644
index 0000000..9b19719
--- /dev/null
+++ b/tests/files/dialogue.fountain.html
@@ -0,0 +1,2 @@
+<div class="dialog"><p class="character">GIRL</p><p>Let me tell you something.</p></div>
+<div class="dialog"><p class="character">GUY</p><p>I don't wanna.</p></div>