Trim whitespace in directory names in the Web IDE
Problem to Solve
When creating a file in the Web IDE, it's possible to create a file with a space
in the directory path:
directory /file.md
vs. directory/file.md
This can lead to issues when trying to navigate or reference files in these paths later as the space is not visible in the file tree of the Web IDE.
Proposal
We should investigate trimming the directory path so that next is bumped against the /
to prevent an unnecessary space character being added.