[PATCH 7/7] dwrite: Implement chaining contextual substitution of format 2.