Handle complex content preserving terminators.