diff --git a/docling_core/types/doc/document.py b/docling_core/types/doc/document.py
index 299d786..eb56e7c 100644
--- a/docling_core/types/doc/document.py
+++ b/docling_core/types/doc/document.py
@@ -1390,6 +1390,9 @@ class DoclingDocument(BaseModel):
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
"""
diff --git a/test/data/doc/2206.01062.yaml.html b/test/data/doc/2206.01062.yaml.html
index ba2add2..ea69871 100644
--- a/test/data/doc/2206.01062.yaml.html
+++ b/test/data/doc/2206.01062.yaml.html
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis
diff --git a/test/data/doc/bad_doc.yaml.html b/test/data/doc/bad_doc.yaml.html
index 12cf61d..c6c20f8 100644
--- a/test/data/doc/bad_doc.yaml.html
+++ b/test/data/doc/bad_doc.yaml.html
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
This is the title
diff --git a/test/data/doc/constructed_doc.embedded.html.gt b/test/data/doc/constructed_doc.embedded.html.gt
index 12ef29e..ec63d1a 100644
--- a/test/data/doc/constructed_doc.embedded.html.gt
+++ b/test/data/doc/constructed_doc.embedded.html.gt
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
Title of the Document
diff --git a/test/data/doc/constructed_doc.placeholder.html.gt b/test/data/doc/constructed_doc.placeholder.html.gt
index e63df31..f14a80e 100644
--- a/test/data/doc/constructed_doc.placeholder.html.gt
+++ b/test/data/doc/constructed_doc.placeholder.html.gt
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
Title of the Document
diff --git a/test/data/doc/constructed_doc.referenced.html.gt b/test/data/doc/constructed_doc.referenced.html.gt
index da449df..4678f9c 100644
--- a/test/data/doc/constructed_doc.referenced.html.gt
+++ b/test/data/doc/constructed_doc.referenced.html.gt
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
Title of the Document
diff --git a/test/data/doc/constructed_document.yaml.html b/test/data/doc/constructed_document.yaml.html
index e63df31..f14a80e 100644
--- a/test/data/doc/constructed_document.yaml.html
+++ b/test/data/doc/constructed_document.yaml.html
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
Title of the Document
diff --git a/test/data/doc/dummy_doc.yaml.html b/test/data/doc/dummy_doc.yaml.html
index 7de2efc..46d5c09 100644
--- a/test/data/doc/dummy_doc.yaml.html
+++ b/test/data/doc/dummy_doc.yaml.html
@@ -53,6 +53,9 @@
table tr:nth-child(even) td{
background-color: LightGray;
}
+ math annotation {
+ display: none;
+ }
DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis