A simple test follows:

${message}

Now perform function tests:

${text} ${text}

Functions are defined, now let's call one of them:

Call the second one:

Call the show function:

Now call the factory function with HTML encoding:

Now see if they exist:

Call the returned function:

Now call the factory function with text encoding:

Now see if they exist:

Call the returned function: