Changed htmlentities flag to HTML5
Allowed image tags in details, centered details window properly