Bug 914317 - Add a check to remove title in prompts

- add unit test for it
- add the quickfix
Merge pull request #12286 from EragonJ/bug-914317

Bug 914317 - Add a check to remove title in prompts, r=@alivedise