Repair END marker for snippet
Repairs to BEGIN/END markers for inclusion in book.