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 synonym linebreak issue #4056

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Fix synonym linebreak issue #4056

wants to merge 2 commits into from

Conversation

nymwo
Copy link

@nymwo nymwo commented Jan 7, 2025

Description of the Change

Closes #3984

Ensures linebreaks in synonym_post are always PHP_EOL. Uses preg_split with a regex for all kinds of linebreaks instead of explode when reading synonym_post to ensure backwards compatibility.

How to test the Change

Add synonyms in environments with different linebreaks.

Changelog Entry

Fixed - Bug fix

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.

BUG: Wrong separator used in get_synonyms on Windows
1 participant