fixes syntax problem in exception block
#64 due to problems in markdown content, now retrieving html