Chromium Code Reviews| Index: site/try/src/html_to_text.dart |
| =================================================================== |
| --- site/try/src/html_to_text.dart (revision 38416) |
| +++ site/try/src/html_to_text.dart (working copy) |
| @@ -41,7 +41,7 @@ |
| int htmlToText(Node root, |
| StringBuffer buffer, |
| TrySelection selection, |
| - {bool treatRootAsInline: false}) { |
| + {bool treatRootAsInline: true}) { |
|
aam-me
2014/07/21 01:38:28
Reason for this change is that diagnostic messages
ahe
2014/07/21 08:16:00
IIRC, this code is to support copy and paste from,
aam-me
2014/07/21 12:20:38
Interesting. I will look into this.
aam-me
2014/07/30 00:28:25
htmlToText is invoked from normalizeMutationRecord
ahe
2014/08/04 08:59:55
I noticed something troublesome in normalizeMutati
|
| int selectionOffset = -1; |
| walkNodes(root, (Node node) { |
| if (selection.anchorNode == node) { |