Skip to content

Commit

Permalink
Add inline markup to tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
  • Loading branch information
jelovirt committed Dec 22, 2023
1 parent 2f18230 commit e96d35a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions src/test/resources/dita/table-block.dita
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@
<tbody class="- topic/tbody ">
<row class="- topic/row ">
<entry class="- topic/entry ">
<p class="- topic/p ">A1</p>
<p class="- topic/p ">A1 <b class="+ topic/ph hi-d/b ">bold</b></p>
<p class="- topic/p ">A1</p>
</entry>
<entry class="- topic/entry ">
<p class="- topic/p ">B1</p>
<p class="- topic/p ">B1</p>
<p class="- topic/p "><b class="+ topic/ph hi-d/b ">bold</b> B1</p>
</entry>
<entry class="- topic/entry ">
<p class="- topic/p ">C1</p>
<p class="- topic/p "><b class="+ topic/ph hi-d/b ">C1</b></p>
<p class="- topic/p ">C1</p>
</entry>
</row>
<row class="- topic/row ">
<entry class="- topic/entry " align="left">
<p class="- topic/p ">A2</p>
<p class="- topic/p ">A2 <b class="+ topic/ph hi-d/b ">bold</b></p>
</entry>
<entry class="- topic/entry " align="center">
<p class="- topic/p ">B2</p>
</entry>
<entry class="- topic/entry " align="right">
<p class="- topic/p ">C2</p>
<p class="- topic/p "><b class="+ topic/ph hi-d/b ">C2</b></p>
</entry>
</row>
<row class="- topic/row ">
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/output/ast/table-block.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><pandoc><div><header id="tables" level="1">Table with block content</header><div><table><col/><col/><col/><thead><tr><tablecell>A</tablecell><tablecell>B</tablecell><tablecell>C</tablecell></tr></thead><tbody><tr><tablecell><para>A1</para><para>A1</para></tablecell><tablecell><para>B1</para><para>B1</para></tablecell><tablecell><para>C1</para><para>C1</para></tablecell></tr><tr><tablecell align="left"><para>A2</para></tablecell><tablecell align="center"><para>B2</para></tablecell><tablecell align="right"><para>C2</para></tablecell></tr><tr><tablecell colspan="2"><para>A3</para><para>B3</para></tablecell><tablecell rowspan="2"><para>C3</para></tablecell></tr><tr><tablecell><para>A4</para></tablecell><tablecell><para>B4</para></tablecell></tr></tbody></table></div></div></pandoc>
<?xml version="1.0" encoding="UTF-8"?><pandoc><div><header id="tables" level="1">Table with block content</header><div><table><col/><col/><col/><thead><tr><tablecell>A</tablecell><tablecell>B</tablecell><tablecell>C</tablecell></tr></thead><tbody><tr><tablecell><para>A1 <strong>bold</strong></para> <para>A1</para></tablecell><tablecell><para>B1</para> <para><strong>bold</strong> B1</para></tablecell><tablecell><para><strong>C1</strong></para> <para>C1</para></tablecell></tr><tr><tablecell align="left"><para>A2 <strong>bold</strong></para></tablecell><tablecell align="center"><para>B2</para></tablecell><tablecell align="right"><para><strong>C2</strong></para></tablecell></tr><tr><tablecell colspan="2"><para>A3</para> <para>B3</para></tablecell><tablecell rowspan="2"><para>C3</para></tablecell></tr><tr><tablecell><para>A4</para></tablecell><tablecell><para>B4</para></tablecell></tr></tbody></table></div></div></pandoc>
16 changes: 8 additions & 8 deletions src/test/resources/output/markdown/table-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,39 @@ B
C
</th></tr></thead><tbody><tr><td>

A1
A1 **bold**

A1
A1

</td><td>

B1

B1
**bold** B1

</td><td>

C1
**C1**

C1
C1

</td></tr><tr><td align="left">

A2
A2 **bold**

</td><td align="center">

B2

</td><td align="right">

C2
**C2**

</td></tr><tr><td colspan="2">

A3

B3
B3

</td><td rowspan="2">

Expand Down

0 comments on commit e96d35a

Please sign in to comment.