Skip to content

RenderableValue

[Source]

Determines how a template value is rendered within an HTML context. The renderer passes the current HTML context and the raw string value; the implementation decides whether and how to escape.

interface val RenderableValue

Public Functions

render

[Source]

Render the raw string value with the given HTML context.

fun val render(
  context: HTMLContext,
  raw: String val)
: String val

Parameters

Returns