Updated list of elements that close <p> tags

This commit is contained in:
Yorick Peterse 2015-05-21 21:11:41 +02:00
parent 73855e6428
commit 3c6263d8de
1 changed files with 3 additions and 2 deletions

View File

@ -59,8 +59,9 @@ module Oga
'dt' => Blacklist.new(%w{dt dd}),
'dd' => Blacklist.new(%w{dt dd}),
'p' => Blacklist.new(%w{
address article aside blockquote div dl fieldset footer form h1 h2 h3
h4 h5 h6 header hgroup hr main nav ol p pre section table ul
address article aside blockquote details div dl fieldset figcaption
figure footer form h1 h2 h3 h4 h5 h6 header hgroup hr main menu nav
ol p pre section table ul
}),
'rb' => Blacklist.new(%w{rb rt rtc rp}),
'rt' => Blacklist.new(%w{rb rt rtc rp}),