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

Unified Diff: pkg/third_party/html5lib/lib/src/treebuilder.dart

Issue 162093002: fix imports link rel=stylesheet (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
Index: pkg/third_party/html5lib/lib/src/treebuilder.dart
diff --git a/pkg/third_party/html5lib/lib/src/treebuilder.dart b/pkg/third_party/html5lib/lib/src/treebuilder.dart
index adde3bf1537c4d20242e6bbc5b12df08f1e4e379..03707b572b1f9522b7a0906a1a1230d9b985b154 100644
--- a/pkg/third_party/html5lib/lib/src/treebuilder.dart
+++ b/pkg/third_party/html5lib/lib/src/treebuilder.dart
@@ -324,7 +324,7 @@ class TreeBuilder {
if (refNode == null) {
if (nodes.length > 0 && nodes.last is Text) {
Text last = nodes.last;
- last.value = '${last.value}$data';
+ last.data = '${last.data}$data';
if (span != null) {
last.sourceSpan = span.file.span(last.sourceSpan.start.offset,
@@ -337,7 +337,7 @@ class TreeBuilder {
int index = nodes.indexOf(refNode);
if (index > 0 && nodes[index - 1] is Text) {
Text last = nodes[index - 1];
- last.value = '${last.value}$data';
+ last.data = '${last.data}$data';
} else {
nodes.insert(index, new Text(data)..sourceSpan = span);
}
« no previous file with comments | « pkg/third_party/html5lib/lib/src/encoding_parser.dart ('k') | pkg/third_party/html5lib/test/browser/browser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698