Fix special character exceptions

https://issues.liferay.com/browse/LRDOCS-1181