Updated to DOMTemplate v18: Three community bug fixes