When displaying search results, slash is hard–coded in the page path property. There will be always a slash in the beginning, separating slash and nothing in the end. It is not possible, for example, to have only symbols like » between path segments.
The attached patch fixes it by introducing a new option named "pathCharacter", which has optionSplit functionality.
(issue imported from #M15086)