-
tony@chromium.org authored
Reviewed by Ryosuke Niwa. [gtk] strip NUL characters when copying text/html on GTK+ https://bugs.webkit.org/show_bug.cgi?id=52508 * editing/pasteboard/copy-null-characters.html: Make sure we didn't change innerHTML (it should still contain the null) * platform/gtk/Skipped: Re-enable the test 2011-01-26 Tony Chang <tony@chromium.org> Reviewed by Ryosuke Niwa. [gtk] strip NUL characters when copying text/html on GTK+ https://bugs.webkit.org/show_bug.cgi?id=52508 Putting NUL characters in the text/html clipboard doesn't work in WebKit GTK+ (the pasted value is truncated at the NUL). Since we're already stripping this character for plain text (for Windows), strip it in text/html too. * editing/MarkupAccumulator.h: mark function as virtual * editing/markup.cpp: (WebCore::StyledMarkupAccumulator::appendString): (WebCore::StyledMarkupAccumulator::takeResults): strip nulls git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c94d9b36