Replaces closetag w/ ragtag