Skip to content

Commit

Permalink
Merge pull request #28 from Local-Data-Exchange/remove_space_from_amp
Browse files Browse the repository at this point in the history
Remove space from str_replace
  • Loading branch information
munir131 authored Dec 16, 2019
2 parents d22c080 + 39a709b commit 2089f36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 0.1.19
- Bump symfony/http-foundation from 4.2.6 to 4.4.1
- Remove space from `&` inside processXmlMappings fucntion.

## 0.1.18
- Updated document and added new docker image files in config for testing different environment.
Expand Down
2 changes: 1 addition & 1 deletion src/ApiBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ protected function processXmlMappings($arguments, $api): string
}
}
// XML API don't allow & in value
$xml = str_ireplace('&', ' & ', $xml);
$xml = str_ireplace('&', '&', $xml);
return $xml;
}

Expand Down

0 comments on commit 2089f36

Please sign in to comment.