We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b4bf8bf + e10ebc8 commit cacb790Copy full SHA for cacb790
src/EDI/Encoder.php
@@ -97,15 +97,15 @@ public function encodeSegment($row)
97
private function escapeValue($str)
98
{
99
$search = [
100
+ $this->symbRel,
101
$this->sepComp,
102
$this->sepData,
- $this->symbRel,
103
$this->symbEnd
104
];
105
$replace = [
106
+ $this->symbRel . $this->symbRel,
107
$this->symbRel . $this->sepComp,
108
$this->symbRel . $this->sepData,
- $this->symbRel . $this->symbRel,
109
$this->symbRel . $this->symbEnd
110
111
return str_replace($search, $replace, $str);
0 commit comments