Chromium Code Reviews| Index: chrome/browser/bookmarks/bookmark_node_data.cc |
| diff --git a/chrome/browser/bookmarks/bookmark_node_data.cc b/chrome/browser/bookmarks/bookmark_node_data.cc |
| index b1d201fa709f01562dcfae409646c967ef29a49f..d8d9501116e89533a4de30eb135cf8b185d6c9cb 100644 |
| --- a/chrome/browser/bookmarks/bookmark_node_data.cc |
| +++ b/chrome/browser/bookmarks/bookmark_node_data.cc |
| @@ -143,7 +143,11 @@ void BookmarkNodeData::WriteToClipboard() const { |
| const std::string url = elements[0].url.spec(); |
| scw.WriteBookmark(title, url); |
| - scw.WriteHyperlink(title, url); |
| + |
| + // Previously scw.WriteHyperlink was called here. Purposfully don't write |
|
Peter Kasting
2013/10/07 22:19:23
Nit: Shorter and more direct: "Don't call scw.Writ
|
| + // hyperlink data, since some rich text editors will change fonts when |
| + // such data is pasted in; besides, most such editors auto-linkify at some |
| + // point anyway. |
| // Also write the URL to the clipboard as text so that it can be pasted |
| // into text fields. We use WriteText instead of WriteURL because we don't |