Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WHATWG is the authority on HTML, not W3C
  • Loading branch information
kraih committed Oct 8, 2013
1 parent 1964fc1 commit f893ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/entities.pl
Expand Up @@ -5,9 +5,9 @@
use Mojo::ByteStream 'b';
use Mojo::UserAgent;

# Extract named character references from HTML5 spec
# Extract named character references from HTML spec
my $tx = Mojo::UserAgent->new->get(
'http://www.w3.org/html/wg/drafts/html/master/single-page.html');
'http://www.whatwg.org/specs/web-apps/current-work/');
b($_->at('td > code')->text . ' ' . $_->children('td')->[1]->text)->trim->say
for $tx->res->dom('#named-character-references-table tbody > tr')->each;

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Util.pm
Expand Up @@ -25,7 +25,7 @@ use constant {
PC_INITIAL_N => 128
};

# To update HTML5 entities run this command
# To update HTML entities run this command
# perl examples/entities.pl > lib/Mojo/entities.txt
my %ENTITIES;
for my $line (split "\x0a", slurp(catfile dirname(__FILE__), 'entities.txt')) {
Expand Down

0 comments on commit f893ecd

Please sign in to comment.