added html content processing