Escape unsafe layout variables using Layout::eSet (refs #4313)