diff options
Diffstat (limited to 'WebCore/platform/win/ClipboardUtilitiesWin.cpp')
-rw-r--r-- | WebCore/platform/win/ClipboardUtilitiesWin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/win/ClipboardUtilitiesWin.cpp b/WebCore/platform/win/ClipboardUtilitiesWin.cpp index 0358b7a..f22fcdc 100644 --- a/WebCore/platform/win/ClipboardUtilitiesWin.cpp +++ b/WebCore/platform/win/ClipboardUtilitiesWin.cpp @@ -415,7 +415,7 @@ PassRefPtr<DocumentFragment> fragmentFromCF_HTML(Document* doc, const String& cf unsigned fragmentEnd = cf_html.reverseFind('<', tagEnd); String markup = cf_html.substring(fragmentStart, fragmentEnd - fragmentStart).stripWhiteSpace(); - return createFragmentFromMarkup(doc, markup, srcURL); + return createFragmentFromMarkup(doc, markup, srcURL, FragmentScriptingNotAllowed); } @@ -443,7 +443,7 @@ PassRefPtr<DocumentFragment> fragmentFromHTML(Document* doc, IDataObject* data) html = String(data); GlobalUnlock(store.hGlobal); ReleaseStgMedium(&store); - return createFragmentFromMarkup(doc, html, srcURL); + return createFragmentFromMarkup(doc, html, srcURL, FragmentScriptingNotAllowed); } return 0; |