Encoding themeHandle variables in order to prevent XSS vulnerability.
changes htmlentities to concrete5 h function. Thanks mlocati.
Merge pull request #1801 from mmetince/master

Encoding themeHandle variables in order to prevent XSS vulnerability.