aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2019-02-21 21:27:47 +0100
committerMartin Vilcans <martin@librador.com>2019-02-21 21:27:47 +0100
commit815a2c80c88bf78afc15caa7f2389ee155b5020f (patch)
tree9fdd269be0494be76f1167de7d86e513f93a8fc1 /tests
parent4704104f02dfa5b49dd11a5e90c04101ef320bc1 (diff)
downloadscreenplain-815a2c80c88bf78afc15caa7f2389ee155b5020f.tar.gz
Do not create empty paragraph if Note is a full paragraph
Diffstat (limited to 'tests')
-rw-r--r--tests/files/notes.fountain14
-rw-r--r--tests/files/notes.fountain.html4
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/files/notes.fountain b/tests/files/notes.fountain
index 1e68fd2..f72b4fc 100644
--- a/tests/files/notes.fountain
+++ b/tests/files/notes.fountain
@@ -16,3 +16,17 @@ a proper note
because it contains a blank line
]]
+
+Before full paragraph note
+
+[[Note as its own paragraph does not generate an empty paragraph]]
+
+After full paragraph note
+
+Before multi-paragraph note
+
+[[Note as its own paragraph
+on several lines
+does not generate an empty paragraph]]
+
+After multi-paragraph note
diff --git a/tests/files/notes.fountain.html b/tests/files/notes.fountain.html
index 033f63c..f9558bc 100644
--- a/tests/files/notes.fountain.html
+++ b/tests/files/notes.fountain.html
@@ -4,3 +4,7 @@
<div class="action"><p>Multiple on one</p></div>
<div class="action"><p>This is not [[<br/>a proper note</p></div>
<div class="action"><p>because it contains a blank line<br/>]]</p></div>
+<div class="action"><p>Before full paragraph note</p></div>
+<div class="action"><p>After full paragraph note</p></div>
+<div class="action"><p>Before multi-paragraph note</p></div>
+<div class="action"><p>After multi-paragraph note</p></div>