Use the template mechanism to replace the previous HTML error
Optimization of string template instance.