$parseAmpImg.substring(0, $endTagIndex)$parseAmpImg.substring($endTagIndex)