updating template tag splitting to handle values that contain "="