Add start and end tags to splitter classes