LPS-42871 - Selecting a file/category name replaces spaces with htmlspecialcharacters

Hey @marclundgren,

Attached is an update for http://issues.liferay.com/browse/LPS-42871.  This actually throws a JS error in IE8.  

![screen-capture](https://f.cloud.github.com/assets/860951/1777661/06fab29e-6829-11e3-98d5-885a5bbeebf7.png)

Can you check and resend?

Please let me know if you have any questions.  Thanks!