[webkit-reviews] review granted: [Bug 182938] Copying a list from Microsoft Word to TinyMCE fails when mso-list is the first property : [Attachment 336844] Fixes the bug
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 30 12:28:18 PDT 2018
Wenson Hsieh <wenson_hsieh at apple.com> has granted Ryosuke Niwa
<rniwa at webkit.org>'s request for review:
Bug 182938: Copying a list from Microsoft Word to TinyMCE fails when mso-list
is the first property
https://bugs.webkit.org/show_bug.cgi?id=182938
Attachment 336844: Fixes the bug
https://bugs.webkit.org/attachment.cgi?id=336844&action=review
--- Comment #4 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Comment on attachment 336844
--> https://bugs.webkit.org/attachment.cgi?id=336844
Fixes the bug
View in context: https://bugs.webkit.org/attachment.cgi?id=336844&action=review
r=me
> Source/WebCore/editing/markup.cpp:432
> + return style.startsWith("mso-list:") || style.contains(";mso-list:")
|| style.contains("\nmso-list:");
I wonder if we should just regex this at some point :P
More information about the webkit-reviews
mailing list