The obvious way to encode template literal variables is always to to start with escape the untrusted information in a JavaScript variable and after that spot that variable during the template literal. var consumer = "";It can be done for a category to define custom coercion strategies by utilizing the asType method. Tailor made coercion is invoked