aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2012-03-01 19:46:24 +0100
committerMartin Vilcans <martin@librador.com>2012-03-01 19:46:24 +0100
commitdada415e8077f0d6f43ed7d6a31191af69551d0f (patch)
tree29fbf6af1eae8896577e41cc15083e947a6b5cdf /tests
parent14b9b720c9d14dc9667d83d178b849082b016618 (diff)
downloadscreenplain-dada415e8077f0d6f43ed7d6a31191af69551d0f.tar.gz
Line breaks become <br/> instead of <p> in HTML.
This should make line breaks look good with the new CSS.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/simple.fountain11
-rw-r--r--tests/files/simple.fountain.fdx21
-rw-r--r--tests/files/simple.fountain.html6
3 files changed, 34 insertions, 4 deletions
diff --git a/tests/files/simple.fountain b/tests/files/simple.fountain
index 07d488d..7b8fdda 100644
--- a/tests/files/simple.fountain
+++ b/tests/files/simple.fountain
@@ -1,9 +1,18 @@
EXT. SOMEWHERE - DAY
-GUY and GURL walks down the street.
+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/simple.fountain.fdx b/tests/files/simple.fountain.fdx
index 2e56d82..9701f3a 100644
--- a/tests/files/simple.fountain.fdx
+++ b/tests/files/simple.fountain.fdx
@@ -6,7 +6,14 @@
<Text>EXT. SOMEWHERE - DAY</Text>
</Paragraph>
<Paragraph Type="Action">
- <Text>GUY and GURL walks down the street.</Text>
+ <Text>GUY and GURL walk down the street.</Text>
+ </Paragraph>
+ <Paragraph Type="Action">
+ <Text>It's a sunny day.
+</Text>
+ <Text>Sunnier than normal.
+</Text>
+ <Text>Too sunny to be funny.</Text>
</Paragraph>
<Paragraph Type="Character">
<Text>GUY</Text>
@@ -20,5 +27,17 @@
<Paragraph Type="Dialogue">
<Text>Nothing much.</Text>
</Paragraph>
+ <Paragraph Type="Dialogue">
+ <Text>Just thinking.</Text>
+ </Paragraph>
+ <Paragraph Type="Dialogue">
+ <Text>And you?</Text>
+ </Paragraph>
+ <Paragraph Type="Character">
+ <Text>GUY</Text>
+ </Paragraph>
+ <Paragraph Type="Dialogue">
+ <Text>Nothing.</Text>
+ </Paragraph>
</Content>
</FinalDraft>
diff --git a/tests/files/simple.fountain.html b/tests/files/simple.fountain.html
index abcc55a..70043dd 100644
--- a/tests/files/simple.fountain.html
+++ b/tests/files/simple.fountain.html
@@ -1,4 +1,6 @@
<h6>EXT. SOMEWHERE - DAY</h6>
-<div class="action"><p>GUY and GURL walks down the street.</p></div>
+<div class="action"><p>GUY and GURL walk down the street.</p></div>
+<div class="action"><p>It's a sunny day.<br/>Sunnier than normal.<br/>Too sunny to be funny.</p></div>
<div class="dialog"><p class="character">GUY</p><p>So what's up?</p></div>
-<div class="dialog"><p class="character">GURL</p><p>Nothing much.</p></div>
+<div class="dialog"><p class="character">GURL</p><p>Nothing much.</p><p>Just thinking.</p><p>And you?</p></div>
+<div class="dialog"><p class="character">GUY</p><p>Nothing.</p></div>