From 50d7304194eac4a6b8cc87f66e15216d72a0a8d1 Mon Sep 17 00:00:00 2001 From: Tim Lim Date: Sat, 21 Oct 2023 16:19:22 +0800 Subject: [PATCH] Fix CPP clean_html to remove adding an extra dot --- lib/docs/filters/cppref/clean_html.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/docs/filters/cppref/clean_html.rb b/lib/docs/filters/cppref/clean_html.rb index d7f564ff..b4902f6d 100644 --- a/lib/docs/filters/cppref/clean_html.rb +++ b/lib/docs/filters/cppref/clean_html.rb @@ -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