remove an unused else
This commit is contained in:
parent
c845f31676
commit
d7d30be498
|
@ -67,8 +67,6 @@ chapter_links.each do |chapter_link|
|
|||
elsif content.children.css('div > h1').length > 0
|
||||
# remove additional parent div tag
|
||||
content = content.children.at_css('div')
|
||||
else
|
||||
content
|
||||
end
|
||||
|
||||
# replace h1 title
|
||||
|
|
Loading…
Reference in New Issue