#1025: API updated for html content.