In the case that string(s) are replaced, any indent or dedent tags must be re-inserted after the replacemnts.