Reproduction steps:
1. Open the attached "ReproProj.zip" project
2. Open "Assets/Scenes/SampleScene"
3. Click on the "Canvas" -> "Text (TMP)" GameObject
4. In the "Text Input" field, type "<font="DeliriumHW">Some Text"
5. Highlight the text in the "Text Input" field and delete it
6. Type some other text without the "<font>" tag
7. Observe the Game view
Expected results: The text of the previous font does not stay on the screen
Actual results: The text of the previous font stays on the screen
Reproducible with: 2023.3.0a16, 2023.3.0a18
Not reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a15
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Note: Reproducible in Play mode