Update setHtmlOptions.R