diff options
Diffstat (limited to 'base/clipboard_util.cc')
-rw-r--r-- | base/clipboard_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/clipboard_util.cc b/base/clipboard_util.cc index a9e7d2a..e56166d 100644 --- a/base/clipboard_util.cc +++ b/base/clipboard_util.cc @@ -429,7 +429,7 @@ std::string ClipboardUtil::HtmlToCFHtml(const std::string& html, MAX_DIGITS * 4; if (!base_url.empty()) { start_html_offset += strlen(source_url_prefix) + - base_url.length() + 1; + base_url.length() + 2; // Add 2 for \r\n. } size_t start_fragment_offset = start_html_offset + strlen(start_markup); size_t end_fragment_offset = start_fragment_offset + html.length(); |