Fix exception caused when is passed nil value to SafeHtmlContentRenderer