Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Unified Diff: pkg/third_party/html5lib/lib/parser.dart

Issue 174633003: small fix in html5lib warning message (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/third_party/html5lib/lib/parser.dart
diff --git a/pkg/third_party/html5lib/lib/parser.dart b/pkg/third_party/html5lib/lib/parser.dart
index 8bfa5c5edcd9c0794fa8ca55ad24b42fcca742f4..013ebcd9859938157747185e18899663c2643898 100644
--- a/pkg/third_party/html5lib/lib/parser.dart
+++ b/pkg/third_party/html5lib/lib/parser.dart
@@ -1683,7 +1683,7 @@ class InBodyPhase extends Phase {
}
// Not sure this is the correct name for the parse error
parser.parseError(token.span, "expected-one-end-tag-but-got-another",
- {"expectedName": "body", "gotName": node.tagName});
+ {"gotName": "body", "expectedName": node.tagName});
Jennifer Messerly 2014/02/21 23:22:18 upstream this fix? https://github.com/html5lib/htm
Siggi Cherem (dart-lang) 2014/02/21 23:35:29 All set: https://github.com/html5lib/html5lib-pyth
break;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698