Skip to content

Commit

Permalink
Fix CPP clean_html to remove adding an extra dot
Browse files Browse the repository at this point in the history
  • Loading branch information
thewheat committed Oct 21, 2023
1 parent 887c879 commit 50d7304
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/docs/filters/cppref/clean_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def call
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

Expand Down

0 comments on commit 50d7304

Please sign in to comment.