Added sample code for html generation
Fixed warning message about ( after the raise call line 172