Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Wrong results when parsing mixed-case tags #41

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

geca commented Dec 27, 2011

Prior to this patch, I got different results for these lines:

<html><head></head><body>foo</body></html>
<html><head></HEAD><body>foo</BODY></HTML>

Now you get the same thing for either of them:

[ { raw: 'html',
    data: 'html',
    type: 'tag',
    name: 'html',
    children: 
     [ { raw: 'head', data: 'head', type: 'tag', name: 'head' },
       { raw: 'body',
         data: 'body',
         type: 'tag',
         name: 'body',
         children: [ { raw: 'foo', data: 'foo', type: 'text' } ] } ] } ]

All of the tests still pass.

@geca geca closed this May 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment