Merge pull request #2085 from thewheat/cpp-prevent-extra-dot

Fix CPP clean_html to remove adding an extra dot
pull/2073/head
Simon Legner 1 year ago committed by GitHub
commit 8502d8f58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,6 @@ module Docs
node << node.next
end
node.inner_html = node.inner_html.strip
node << '.' if node.content =~ /[a-zA-Z0-9\)]\z/
node.remove if node.content.blank? && !node.at_css('img')
end

Loading…
Cancel
Save