Files
docling-core/test/data/doc/activities.gt.html
23badf2a1d fix: add forward slashes to singleton tags (#369)
* Add forward slash to singleton tags

See issue #354 on docling-project/docling-core

Signed-off-by: 15mbp <100952997+15mbp@users.noreply.github.com>

* test(HTML): fix ground truth data files

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>

---------

Signed-off-by: 15mbp <100952997+15mbp@users.noreply.github.com>
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
Co-authored-by: 15mbp <100952997+15mbp@users.noreply.github.com>
2025-08-19 10:05:34 +02:00

158 lines
3.7 KiB
HTML
Vendored

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>activities</title>
<meta name="generator" content="Docling HTML Serializer"/>
<style>
html {
background-color: #f5f5f5;
font-family: Arial, sans-serif;
line-height: 1.6;
}
body {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
background-color: white;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1, h2, h3, h4, h5, h6 {
color: #333;
margin-top: 1.5em;
margin-bottom: 0.5em;
}
h1 {
font-size: 2em;
border-bottom: 1px solid #eee;
padding-bottom: 0.3em;
}
table {
border-collapse: collapse;
margin: 1em 0;
width: 100%;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
figure {
margin: 1.5em 0;
text-align: center;
}
figcaption {
color: #666;
font-style: italic;
margin-top: 0.5em;
}
img {
max-width: 100%;
height: auto;
}
pre {
background-color: #f6f8fa;
border-radius: 3px;
padding: 1em;
overflow: auto;
}
code {
font-family: monospace;
background-color: #f6f8fa;
padding: 0.2em 0.4em;
border-radius: 3px;
}
pre code {
background-color: transparent;
padding: 0;
}
.formula {
text-align: center;
padding: 0.5em;
margin: 1em 0;
background-color: #f9f9f9;
}
.formula-not-decoded {
text-align: center;
padding: 0.5em;
margin: 1em 0;
background: repeating-linear-gradient(
45deg,
#f0f0f0,
#f0f0f0 10px,
#f9f9f9 10px,
#f9f9f9 20px
);
}
.page-break {
page-break-after: always;
border-top: 1px dashed #ccc;
margin: 2em 0;
}
.key-value-region {
background-color: #f9f9f9;
padding: 1em;
border-radius: 4px;
margin: 1em 0;
}
.key-value-region dt {
font-weight: bold;
}
.key-value-region dd {
margin-left: 1em;
margin-bottom: 0.5em;
}
.form-container {
border: 1px solid #ddd;
padding: 1em;
border-radius: 4px;
margin: 1em 0;
}
.form-item {
margin-bottom: 0.5em;
}
.image-classification {
font-size: 0.9em;
color: #666;
margin-top: 0.5em;
}
</style>
</head>
<body>
<div class='page'>
<h2>Summer activities</h2>
<h2>Swimming in the lake</h2>
<p>Duck</p>
<figure><figcaption><div class="caption">Figure 1: This is a cute duckling</div></figcaption></figure>
<h2>Let's swim!</h2>
<p>To get started with swimming, first lay down in a water and try not to drown:</p>
<ul>
<li style="list-style-type: '- ';">∞ You can relax and look around</li>
<li style="list-style-type: '- ';">∞ Paddle about</li>
<li style="list-style-type: '- ';">∞ Enjoy summer warmth</li>
</ul>
<p>Also, don't forget:</p>
<ul>
<li style="list-style-type: '- ';">1. Wear sunglasses</li>
<li style="list-style-type: '- ';">2. Don't forget to drink water</li>
<li style="list-style-type: '- ';">3. Use sun cream</li>
</ul>
<p>Hmm, what else…</p>
<ul>
<li style="list-style-type: '- ';">-Another activity item</li>
<li style="list-style-type: '- ';">-Yet another one</li>
<li style="list-style-type: '- ';">-Stopping it here</li>
</ul>
<p>Some text.</p>
<ul>
<li style="list-style-type: '- ';">-Starting the next page with a list item.</li>
<li style="list-style-type: '- ';">-Second item.</li>
</ul>
</div>
</body>
</html>