Merge pull request #322 from grischa/develop

fixing bug that raises error when the error page is rendered
fixed bug where bleach tag attribute setting was ignored