Skip to content

Commit a32e3d0

Browse files
committed
Update SQLite documentation (3.42.0)
Fixes #1937.
1 parent 662aaa1 commit a32e3d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/docs/filters/sqlite/clean_html.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,14 @@ def call
5656
else
5757
node.next_element['id'] = node['name']
5858
end
59+
node.remove
60+
elsif node.parent.name == 'p'
61+
node['id'] = node['name']
62+
node.parent.after(node.remove)
5963
else
6064
node.parent['id'] ||= node['name']
65+
node.remove
6166
end
62-
node.remove
6367
end
6468

6569
unless at_css('h2')

0 commit comments

Comments
 (0)