Fixed escaping path names in the webapp

Path names and links needed to be properly escaped