Description: When doing a search and replace (of italics in my case) in a cell, if one undoes the changes, reapplies them and undoes them again, the whole formatting of the cell disappears. Steps to Reproduce: 1.Apply search and replace (3 times for ex.) in a cell where italics (for ex.) are present (file provided below) 2. Undo the replacements 3. Redo the replacements 4. Undo them Actual Results: At this point the formatting of the cell disappears. Expected Results: Everything should remain the same except what is concerned by the search and replace undo and redo. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.4.2 (AARCH64) / LibreOffice Community Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2 CPU threads: 8; OS: macOS 14.5; UI render: Skia/Metal; VCL: osx Locale: en-US (en.UTF-8); UI: en-US Calc: threaded
Created attachment 194779 [details] File on which to perform the test to reproduce
Created attachment 194780 [details] Video showing the bug (formatting disappears)