Skip to content

Commit

Permalink
improved HTML Living Standard compliance of Mojo::DOM::HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 8, 2013
1 parent f893ecd commit 4a12818
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -2,6 +2,7 @@
4.46 2013-10-08
- Changed default name for generated applications from MyMojoliciousApp to
MyApp.
- Improved HTML Living Standard compliance of Mojo::DOM::HTML.

4.45 2013-10-06
- Changed return values of validation checks in Mojolicious::Validator.
Expand Down
9 changes: 5 additions & 4 deletions lib/Mojo/DOM/HTML.pm
Expand Up @@ -66,10 +66,11 @@ my %VOID = map { $_ => 1 } (

# HTML elements categorized as phrasing content (and obsolete inline elements)
my @PHRASING = (
qw(a abbr area audio b bdo br button canvas cite code data datalist del),
qw(dfn em embed i iframe img input ins kbd keygen label link map mark math),
qw(meta meter noscript object output progress q ruby s samp script select),
qw(small span strong sub sup svg template textarea time u var video wbr)
qw(a abbr area audio b bdi bdo br button canvas cite code data datalist),
qw(del dfn em embed i iframe img input ins kbd keygen label link map mark),
qw(math meta meter noscript object output progress q ruby s samp script),
qw(select small span strong sub sup svg template textarea time u var video),
qw(wbr)
);
my @OBSOLETE = qw(acronym applet basefont big font strike tt);
my %PHRASING = map { $_ => 1 } @OBSOLETE, @PHRASING;
Expand Down

0 comments on commit 4a12818

Please sign in to comment.