• Compile and render inline Handlebars content to sanitized HTML.

    Parameters

    • content: HTMLString

      Inline Handlebars source to compile and render.

    • data: PlainObject = {}

      Context data supplied to the compiled template.

    Returns Promise<HTMLString>

    The rendered, sanitized HTML.