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

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

Issue 157983005: pkg/third_party/html5lib: lots of cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: bump version 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
Index: pkg/third_party/html5lib/lib/dom.dart
diff --git a/pkg/third_party/html5lib/lib/dom.dart b/pkg/third_party/html5lib/lib/dom.dart
index 1c0b6de94f425389507abd621afe3ad619b20cd6..356d88ab8c2e6e5d6c4efb4bd2ecb0c1fa3af1df 100644
--- a/pkg/third_party/html5lib/lib/dom.dart
+++ b/pkg/third_party/html5lib/lib/dom.dart
@@ -11,7 +11,6 @@ import 'src/constants.dart';
import 'src/list_proxy.dart';
import 'src/token.dart';
import 'src/tokenizer.dart';
-import 'src/treebuilder.dart';
import 'src/utils.dart';
import 'dom_parsing.dart';
import 'parser.dart';
@@ -428,7 +427,7 @@ class Text extends Node {
void _addOuterHtml(StringBuffer str) {
// Don't escape text for certain elements, notably <script>.
- if (rcdataElements.contains(parent.tagName) ||
+ if (RCDATA_ELEMENTS.contains(parent.tagName) ||
parent.tagName == 'plaintext') {
str.write(value);
} else {
« no previous file with comments | « no previous file | pkg/third_party/html5lib/lib/dom_parsing.dart » ('j') | pkg/third_party/html5lib/lib/src/constants.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698