Shell: fix wrong display of PDF with whitespace like the title in the Recent View
As written in ticket # 1587. The recent view doesn't display titles for a document whose title is a string of whitespaces. This has been solved by removing the leading and trailing spaces of the string, if the resulting string is empty, we display the name of the file as the title.>
- I am a first time contributor, please let me know if I made any mistakes !