Skip to content

Commit 0eb22a3

Browse files
gpetiotjonludlam
authored andcommitted
Add test
1 parent b3681d0 commit 0eb22a3

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

test/generators/cases/markup.mli

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
Code can appear {b inside [other] markup}. Its display shouldn't be
5858
affected.
5959
60+
There is no differences between [a b] and [a
61+
b].
6062
6163
{1 Links and references}
6264

test/generators/html/Markup.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ <h6 id="subparagraph"><a href="#subparagraph" class="anchor"></a>
123123
<p>Code can appear <b>inside <code>other</code> markup</b>. Its display
124124
shouldn't be affected.
125125
</p>
126+
<p>There is no differences between <code>a b</code> and
127+
<code>a
128+
b</code>
129+
.
130+
</p>
126131
<h2 id="links-and-references">
127132
<a href="#links-and-references" class="anchor"></a>Links and references
128133
</h2>

test/generators/latex/Markup.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ \subsection{Styling\label{styling}}%
3434

3535
Code can appear \bold{inside \ocamlinlinecode{other} markup}. Its display shouldn't be affected.
3636

37+
There is no differences between \ocamlinlinecode{a b} and \ocamlinlinecode{a
38+
b}.
39+
3740
\subsection{Links and references\label{links-and-references}}%
3841
This is a \href{\#}{link}\footnote{\url{\#}}. It sends you to the top of this page. Links can have markup inside them: \href{\#}{\bold{bold}}\footnote{\url{\#}}, \href{\#}{\emph{italics}}\footnote{\url{\#}}, \href{\#}{\emph{emphasis}}\footnote{\url{\#}}, \href{\#}{super\textsuperscript{script}}\footnote{\url{\#}}, \href{\#}{sub\textsubscript{script}}\footnote{\url{\#}}, and \href{\#}{\ocamlinlinecode{code}}\footnote{\url{\#}}. Links can also be nested \emph{\href{\#}{inside}\footnote{\url{\#}}} markup. Links cannot be nested inside each other. This link has no replacement text: \href{\#}{\#}\footnote{\url{\#}}. The text is filled in by odoc. This is a shorthand link: \href{\#}{\#}\footnote{\url{\#}}. The text is also filled in by odoc in this case.
3942

test/generators/man/Markup.3o

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ It's possible for two markup elements to appear \fBnext\fR \fIto\fR each other a
8585
This is also true between non-code markup and code\.
8686
.sp
8787
Code can appear \fBinside other markup\fR\. Its display shouldn't be affected\.
88+
.sp
89+
There is no differences between a b and a
90+
b\.
8891
.nf
8992
.sp
9093
.in 3

0 commit comments

Comments
 (0)