extension to apply html