File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ class HtmlParser {
99
99
100
100
if (renderNewlines) {
101
101
assert (() {
102
- print ("Before: $data " );
102
+ debugPrint ("Before: $data " );
103
103
return true ;
104
104
}());
105
105
data = data.replaceAll ("\n " , "<br />" );
106
106
assert (() {
107
- print ("After: $data " );
107
+ debugPrint ("After: $data " );
108
108
}());
109
109
}
110
110
dom.Document document = parser.parse (data);
@@ -123,7 +123,7 @@ class HtmlParser {
123
123
124
124
if (node is dom.Element ) {
125
125
assert (() {
126
- print ("Found ${node .localName }" );
126
+ debugPrint ("Found ${node .localName }" );
127
127
return true ;
128
128
}());
129
129
@@ -758,7 +758,7 @@ class HtmlParser {
758
758
node.text = " " ;
759
759
}
760
760
761
- print ("Plain Text Node: '${trimStringHtml (node .text )}'" );
761
+ debugPrint ("Plain Text Node: '${trimStringHtml (node .text )}'" );
762
762
String finalText = trimStringHtml (node.text);
763
763
//Temp fix for https://github.com/flutter/flutter/issues/736
764
764
if (finalText.endsWith (" " )) {
You can’t perform that action at this time.
0 commit comments