add directive for html content