Fix to get target_char correctly

Get from marker, modified line, instead of original target line.