gostriptags can help you remove HTML elements and attributes outside the white list.