Bug fix for the filepreview extension. The file content must be html encoded - html tags must be escaped.