solved issue with html tags and encoding