Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: get oneListGroup to work as expected for array of strings #662

Merged

Conversation

a-rasin
Copy link
Contributor

@a-rasin a-rasin commented Jun 29, 2024

If I have oneListGroup enabled I would expect that:

{
  "a": ["(first)", "second"]
}

Would give me:

<a>(first)(second)</a>

But I get:

<a>
  <a>(first)</a>
  <a>(second)</a>
</a>

This commit fixes that issue.

Type

Please mention the type of PR

  • Bug Fix
  • Refactoring / Technology upgrade
  • New Feature

Note : Please ensure that you've read contribution guidelines before raising this PR. If your PR is in progress, please prepend [WIP] in PR title. Your PR will be reviewed when [WIP] will be removed from the PR title.

Bookmark this repository for further updates.

If I have `oneListGroup` enabled I would expect that:

```json
{
  a: ['(first)', 'second']
}
```

Would give me:
```xml
<a>(first)(second)</a>
```

But I get:
```xml
<a>
  <a>(first)</a>
  <a>(second)</a>
</a>
```

This commit fixes that issue.
@coveralls
Copy link

Coverage Status

coverage: 98.168% (+0.006%) from 98.162%
when pulling e2d730d on a-rasin:fix/oneListGroupArray
into b8e40c8 on NaturalIntelligence:master.

@amitguptagwl amitguptagwl merged commit 931e910 into NaturalIntelligence:master Jul 7, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants