summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Lin <timtylin@gmail.com>2015-02-04 22:42:22 -0800
committerTim Lin <timtylin@gmail.com>2015-02-04 22:42:22 -0800
commit0c18f3a854efaba54367f66d0f572afcab7d57f0 (patch)
treed9ee294bfe88e14932b84dae8f42525d2ea0d9a0 /tests
parentfb7a03dcda6872e5f41c16783dc66244805ac44a (diff)
Append newline to the LineBreak of various writers
This change improves output formatting of content with a large amount of force line breaks, such as line-blocks. The following writers are affected: * Dokuwiki * HTML * EPUB (via HTML) * LaTeX * MediaWiki * OpenDocument * Texinfo This commit resolves #1924
Diffstat (limited to 'tests')
-rw-r--r--tests/dokuwiki_inline_formatting.dokuwiki3
-rw-r--r--tests/writer.dokuwiki3
-rw-r--r--tests/writer.html3
-rw-r--r--tests/writer.latex3
-rw-r--r--tests/writer.mediawiki3
-rw-r--r--tests/writer.opendocument3
-rw-r--r--tests/writer.texinfo3
7 files changed, 14 insertions, 7 deletions
diff --git a/tests/dokuwiki_inline_formatting.dokuwiki b/tests/dokuwiki_inline_formatting.dokuwiki
index dd5cb52b4..262094184 100644
--- a/tests/dokuwiki_inline_formatting.dokuwiki
+++ b/tests/dokuwiki_inline_formatting.dokuwiki
@@ -6,7 +6,8 @@ Some people use single underlines for //emphasis//.
Above the line is <sup>superscript</sup> and below the line is <sub>subscript</sub>.
-A line\\ break.
+A line\\
+break.
hello %%//%% world %%**%% from %%__%% me
diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki
index dc14e9b00..2c3c9b1b5 100644
--- a/tests/writer.dokuwiki
+++ b/tests/writer.dokuwiki
@@ -36,7 +36,8 @@ In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Beca
Here’s one with a bullet. * criminey.
-There should be a hard line break\\ here.
+There should be a hard line break\\
+here.
----
diff --git a/tests/writer.html b/tests/writer.html
index 6f7d1764b..1357fa7c4 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -35,7 +35,8 @@
<p>Here’s a regular paragraph.</p>
<p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p>
<p>Here’s one with a bullet. * criminey.</p>
-<p>There should be a hard line break<br />here.</p>
+<p>There should be a hard line break<br />
+here.</p>
<hr />
<h1 id="block-quotes">Block Quotes</h1>
<p>E-mail style:</p>
diff --git a/tests/writer.latex b/tests/writer.latex
index 5b41bac75..f7123be98 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -109,7 +109,8 @@ item.
Here's one with a bullet. * criminey.
-There should be a hard line break\\here.
+There should be a hard line break\\
+here.
\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
diff --git a/tests/writer.mediawiki b/tests/writer.mediawiki
index efd43cb04..b8b99c5e7 100644
--- a/tests/writer.mediawiki
+++ b/tests/writer.mediawiki
@@ -36,7 +36,8 @@ In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Beca
Here’s one with a bullet. * criminey.
-There should be a hard line break<br />here.
+There should be a hard line break<br />
+here.
-----
diff --git a/tests/writer.opendocument b/tests/writer.opendocument
index 81c793a62..ac436150d 100644
--- a/tests/writer.opendocument
+++ b/tests/writer.opendocument
@@ -896,7 +896,8 @@ of a paragraph looked like a list item.</text:p>
<text:p text:style-name="Text_20_body">Here’s one with a bullet. *
criminey.</text:p>
<text:p text:style-name="Text_20_body">There should be a hard line
-break<text:line-break />here.</text:p>
+break<text:line-break />
+here.</text:p>
<text:p text:style-name="Horizontal_20_Line" />
<text:h text:style-name="Heading_20_1" text:outline-level="1">Block
Quotes</text:h>
diff --git a/tests/writer.texinfo b/tests/writer.texinfo
index 7b59ea651..c5eb9748a 100644
--- a/tests/writer.texinfo
+++ b/tests/writer.texinfo
@@ -129,7 +129,8 @@ In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Beca
Here's one with a bullet. * criminey.
-There should be a hard line break@*here.
+There should be a hard line break@*
+here.
@iftex
@bigskip@hrule@bigskip