We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e87e55 commit 2af1f17Copy full SHA for 2af1f17
lib/boilerpipe/document/text_block.rb
@@ -67,9 +67,8 @@ def merge_next(other)
67
@offset_blocks_start = [@offset_blocks_start, other.offset_blocks_start].min
68
@offset_blocks_end = [@offset_blocks_end, other.offset_blocks_end].max
69
@content |= other.is_content?
70
- init_densities
71
-
72
@labels.merge(other.labels.clone)
+ init_densities
73
74
@tag_level = [@tag_level, other.tag_level].min
75
end
0 commit comments