ragi96 / table-field

A Table Field for Kirby V3
MIT License
22 stars 7 forks source link

Fix handling of special strings #5

Closed mzur closed 2 years ago

mzur commented 2 years ago

This fixes the following cases:

  1. A string such as This - That was split in the middle although it should remain intact.

  2. Single quotes such as 'This - That' were not removed although they are used by the YAML parser to quote strings that include special characters.

The regexes of the PHP and JS code now do the same thing, too.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

ragi96 commented 2 years ago

Thanks, it will be included in the next release 👍