mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-06 03:57:35 +00:00
Fix: Law parser (#11246)
### What problem does this PR solve? Fix: Law parser ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
bfc84ba95b
commit
93422fa8cc
@ -482,7 +482,7 @@ def tree_merge(bull, sections, depth):
|
||||
root = Node(level=0, depth=target_level, texts=[])
|
||||
root.build_tree(lines)
|
||||
|
||||
return [("\n").join(element) for element in root.get_tree() if element]
|
||||
return [element for element in root.get_tree() if element]
|
||||
|
||||
def hierarchical_merge(bull, sections, depth):
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user