You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code// is governed by a BSD-style license that can be found in the LICENSE file.import"package:html/parser.dart";
main() {
var p1 =parse("<p>hello</p>");
var t1 = p1.nodes.first;
print(t1.^);
}
Caret at ^; localName won't show up among suggestions.
The text was updated successfully, but these errors were encountered:
It rather seems that localName isn't returned for the top-level html element.
// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code// is governed by a BSD-style license that can be found in the LICENSE file.import"package:html/parser.dart";
main() {
var p1 =parse("<p>hello</p>");
var t1 = p1.nodes.first;
var t2 = p1.nodes.first.children.first;
print(t1.^); // no localNameprint(t2.^); // localName ok
}
Caret at
^
;localName
won't show up among suggestions.The text was updated successfully, but these errors were encountered: