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

Minor: Fixing language #3806

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Minor: Fixing language #3806

merged 1 commit into from
Feb 2, 2023

Conversation

ThomasLandauer
Copy link
Contributor

No description provided.

@@ -1,7 +1,7 @@
``striptags``
=============

The ``striptags`` filter strips SGML/XML tags and replace adjacent whitespace
The ``striptags`` filter strips SGML/XML tags and replaces adjacent whitespaces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace is unaccountable, so:

Suggested change
The ``striptags`` filter strips SGML/XML tags and replaces adjacent whitespaces
The ``striptags`` filter strips SGML/XML tags and replaces adjacent whitespace

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, but then "adjacent" sounds weird ;-) => So I went for "whitespace characters", as https://www.php.net/manual/en/regexp.reference.escape.php is doing.

@fabpot fabpot changed the base branch from 3.x to 2.x February 2, 2023 12:22
@fabpot
Copy link
Contributor

fabpot commented Feb 2, 2023

Good catch, thanks @ThomasLandauer.

@fabpot fabpot merged commit 2e99376 into twigphp:2.x Feb 2, 2023
@ThomasLandauer ThomasLandauer deleted the patch-1 branch February 2, 2023 12:34
ThomasLandauer added a commit to ThomasLandauer/symfony-docs that referenced this pull request Feb 11, 2023
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Feb 17, 2023
This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

Changing "white spaces" => "whitespace"

According to twigphp/Twig#3806 (comment) - but I didn't doublecheck.

Commits
-------

369b563 Changing "white spaces" => "whitespace"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants