diff options
author | Martin Vilcans <martin@librador.com> | 2012-07-10 00:40:49 +0200 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2012-07-10 00:40:49 +0200 |
commit | f0fea172c34f62f8a35b1c28549e25e4a30589c5 (patch) | |
tree | b0ec59efc9d32500ce0d5aac3a3489523fb91934 /tests | |
parent | 6b8ecde671306398f1c242df74ef918e12724f35 (diff) | |
download | screenplain-f0fea172c34f62f8a35b1c28549e25e4a30589c5.tar.gz |
Strip leading and trailing whitespace from character names.
Closes #2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/files/dialogue.fountain | 5 | ||||
-rw-r--r-- | tests/files/dialogue.fountain.fdx | 17 | ||||
-rw-r--r-- | tests/files/dialogue.fountain.html | 2 |
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> |