Browse Source

Update SQLite documentation (3.42.0)

Fixes #1937.
Simon Legner 2 years ago
parent
commit
a32e3d0522
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lib/docs/filters/sqlite/clean_html.rb

+ 5 - 1
lib/docs/filters/sqlite/clean_html.rb

@@ -56,10 +56,14 @@ module Docs
             else
               node.next_element['id'] = node['name']
             end
+            node.remove
+          elsif node.parent.name == 'p'
+            node['id'] = node['name']
+            node.parent.after(node.remove)
           else
             node.parent['id'] ||= node['name']
+            node.remove
           end
-          node.remove
         end
 
         unless at_css('h2')