How to reproduce on the web demo...
1.) Create a location name with an apostrophe.
2.) Go to the View Location Hierarchy
3.) Select Style=Tree
4.) Choose the location name with the apostrophe.
When you choose the location name with the apostrophe, only the part of the name before the apostrophe is displayed. I suspect this happens other places the widget is also used.