Fix CPP clean_html to remove adding an extra dot

pull/2085/head
Tim Lim 1 year ago
parent 887c879e0f
commit 50d7304194

@ -82,7 +82,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