[pull] master from monkeytypegame:master#895
Merged
Merged
Conversation
Closes #8033. Changes the regex in sanitizeString to only collapse horizontal spaces so it no longer accidentally deletes newlines. This PR fixes an issue where the `sanitizeString` utility deletes intentional newlines if they are surrounded by spaces. The regex `/\s{3,}/g` was replaced with `/[^\S\r\n]{3,}/g` so that it only collapses horizontal whitespace and preserves user line breaks (such as those used in profile bios).
Bumps [fontawesome-subset](https://github.com/omacranger/fontawesome-subset) from 4.4.0 to 4.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/omacranger/fontawesome-subset/releases">fontawesome-subset's releases</a>.</em></p> <blockquote> <h2>4.6.0</h2> <p>Added</p> <ul> <li>Support FontAwesome 7.0.0, thanks <a href="https://github.com/Athorcis"><code>@Athorcis</code></a></li> </ul> <h2>4.5.0</h2> <p>Added</p> <ul> <li>Support FontAwesome 6.7.0+, including the new <code>sharp-duotone</code> and <code>duotone</code> variants</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/omacranger/fontawesome-subset/blob/master/CHANGELOG.md">fontawesome-subset's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/omacranger/fontawesome-subset/compare/4.5.0...4.6.0">4.6.0</a></h2> <ul> <li>Support FontAwesome 7.0.0, thanks <a href="https://github.com/Athorcis"><code>@Athorcis</code></a></li> </ul> <h2><a href="https://github.com/omacranger/fontawesome-subset/compare/4.4.0...4.5.0">4.5.0</a></h2> <ul> <li>Support FontAwesome 6.7.0+, including the new <code>sharp-duotone</code> and <code>duotone</code> variants</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/omacranger/fontawesome-subset/commit/dfb0cf23bb72c641cac5046d38a49c013ea268d5"><code>dfb0cf2</code></a> version bump</li> <li><a href="https://github.com/omacranger/fontawesome-subset/commit/2813682033a0356e10225070c1f28ac0aecbece7"><code>2813682</code></a> update node versions, add v7 for tests (<a href="https://redirect.github.com/omacranger/fontawesome-subset/issues/44">#44</a>)</li> <li><a href="https://github.com/omacranger/fontawesome-subset/commit/713f2c0a9f3f6c0c59bb29c991a80ff3180671f8"><code>713f2c0</code></a> feat: support for font awesome 7 (<a href="https://redirect.github.com/omacranger/fontawesome-subset/issues/43">#43</a>)</li> <li><a href="https://github.com/omacranger/fontawesome-subset/commit/52ae552feb2463dbbbb58ff781d61f953a40ea14"><code>52ae552</code></a> version bump, changelog, readme</li> <li><a href="https://github.com/omacranger/fontawesome-subset/commit/24dd9ccc1391bcd074e28c13c08f0b9f0689324f"><code>24dd9cc</code></a> Support new font families for 6.7.x (<a href="https://redirect.github.com/omacranger/fontawesome-subset/issues/40">#40</a>)</li> <li>See full diff in <a href="https://github.com/omacranger/fontawesome-subset/compare/4.4.0...4.6.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )