2007/9/8, Jacques Distler:
>
> It turns out that this is easily fixed by the following change in
> tokenizer.rb:
>
>     # This method replaces the need for
> "entityInAttributeValueState".
>     def process_entity_in_attribute
> -       entity = consume_entity(true)
> +      entity = consume_entity()
>       if entity
>         @current_token[:data][-1][1] += entity
>
> If I make this change, all tests (not just the sanitizer tests) pass.

If I make the exact same change in the python version, the three
"entity in attribute" tests in tests1.test fail.

This means (to me) there is a bug in the ruby port of consume_entity.

Now, let's try to find out which and where ;-)

-- 
Thomas Broyer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to