Update to latest HTML5lib
Fix that Tokenizer bug for real this time.
This commit is contained in:
parent
f3a89556c4
commit
ed68d975df
53 changed files with 11569 additions and 2603 deletions
4
vendor/plugins/HTML5lib/tests/test_parser.rb
vendored
4
vendor/plugins/HTML5lib/tests/test_parser.rb
vendored
|
@ -50,8 +50,8 @@ class Html5ParserTestCase < Test::Unit::TestCase
|
|||
'', 'Recieved:', actual_output
|
||||
].join("\n")
|
||||
|
||||
actual_errors = parser.errors.map do |(line, col), message|
|
||||
'Line: %i Col: %i %s' % [line, col, message]
|
||||
actual_errors = parser.errors.map do |(line, col), message, datavars|
|
||||
'Line: %i Col: %i %s' % [line, col, E[message] % datavars]
|
||||
end
|
||||
assert_equal errors.length, parser.errors.length, [
|
||||
'', 'Input', input,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue