Skip to content

Comments

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

Merged
amitguptagwl merged 1 commit intoNaturalIntelligence:masterfrom
a-rasin:fix/oneListGroupArray
Jul 7, 2024
Merged

fix: get oneListGroup to work as expected for array of strings#662
amitguptagwl merged 1 commit intoNaturalIntelligence:masterfrom
a-rasin:fix/oneListGroupArray

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
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