From 91b80b70e2193fb852d96daf1fe17303876881dc Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Wed, 19 Aug 2015 23:12:21 +0200 Subject: [PATCH] Update HTML5 tags From https://github.com/htacg/tidy-html5/blob/master/src/tags.c#L296 --- src/Readability.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Readability.php b/src/Readability.php index 5b714a7..98789fe 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -88,9 +88,9 @@ class Readability 'output-xhtml' => true, 'logical-emphasis' => true, 'show-body-only' => false, - 'new-blocklevel-tags' => 'article,aside,audio,details,figcaption,figure,footer,header,hgroup,nav,section,source,summary,temp,track,video', - 'new-empty-tags' => 'command,embed,keygen,source,track,wbr', - 'new-inline-tags' => 'audio,canvas,command,datalist,embed,keygen,mark,meter,output,progress,time,video,wbr', + 'new-blocklevel-tags' => 'article aside audio bdi canvas details dialog figcaption figure footer header hgroup main menu menuitem nav section source summary template track video', + 'new-empty-tags' => 'command embed keygen source track wbr', + 'new-inline-tags' => 'audio command datalist embed keygen mark menuitem meter output progress source time video wbr', 'wrap' => 0, 'drop-empty-paras' => true, 'drop-proprietary-attributes' => false,