MDL-64506 templates: replace spans where and col-x appears