Fix html tags issues in views