Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1c0cfd634d26e2056e9a9eaf56a6ea3de2524099 https://github.com/WebKit/WebKit/commit/1c0cfd634d26e2056e9a9eaf56a6ea3de2524099 Author: Aditya Keerthi <akeer...@apple.com> Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths: M Source/WebCore/editing/WebContentReader.h M Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm M Source/WebKit/WebProcess/WebPage/Cocoa/UnifiedTextReplacementController.mm Log Message: ----------- [Unified Text Replacement] Perform sanitization during attributed string conversion https://bugs.webkit.org/show_bug.cgi?id=273853 rdar://125998208 Reviewed by Wenson Hsieh. Unwanted attributes may be added when converting attributed strings to markup. Add a new option to fragment creation to sanitize the markup. * Source/WebCore/editing/WebContentReader.h: * Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm: (WebCore::createFragmentInternal): * Source/WebKit/WebProcess/WebPage/Cocoa/UnifiedTextReplacementController.mm: (WebKit::UnifiedTextReplacementController::textReplacementSessionDidReceiveTextWithReplacementRange): Canonical link: https://commits.webkit.org/278489@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes