populateHtml

fun populateHtml(rawHtml: String): String

Populates the provided HTML template with data from the QuestionnaireResponse.

After a tag got replaced, the current index will be used twice, adding an increment will skip a character right after the current index.

Return

The populated HTML with all custom tags replaced by corresponding data.

Parameters

rawHtml

The raw HTML template containing custom tags to be replaced.