Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(html-parser): correct h4 heading mapping from ##### to #### (#13833)

黄圣祺534729546e96
diff --git a/deepdoc/parser/html_parser.py b/deepdoc/parser/html_parser.py
index dcf33a8bbd..f4d360c641 100644
--- a/deepdoc/parser/html_parser.py
+++ b/deepdoc/parser/html_parser.py
@@ -33,7 +33,7 @@ BLOCK_TAGS = [
"table", "pre", "code", "blockquote",
"figure", "figcaption"
]
-TITLE_TAGS = {"h1": "#", "h2": "##", "h3": "###", "h4": "#####", "h5": "#####", "h6": "######"}
+TITLE_TAGS = {"h1": "#", "h2": "##", "h3": "###", "h4": "####", "h5": "#####", "h6": "######"}
class RAGFlowHtmlParser: