Skip to content

Commit eeed5e1

Browse files
committed
bug fix
1 parent 2508eb7 commit eeed5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/boilerpipe/filters/block_proximity_fusion.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def process(doc)
4040
diff_blocks = tb.offset_blocks_start - prev_block.offset_blocks_end - 1
4141
if diff_blocks <= @max_blocks_distance
4242
ok = true
43-
ok = false if prev_block.is_not_content? && !@content_only
43+
ok = false if prev_block.is_not_content? && @content_only
4444
ok = false if ok && prev_block.tag_level != tb.tag_level && @same_tag_level_only
4545

4646
if ok

0 commit comments

Comments
 (0)