after determining the length of the title and type of a block, remove that number of characters from the current block's content array's last string element.