Skip to content

Exit out early when empty string is split#80

Merged
allejo merged 1 commit into
9.18from
hotfix/split-code-empty-string-warning
Oct 16, 2020
Merged

Exit out early when empty string is split#80
allejo merged 1 commit into
9.18from
hotfix/split-code-empty-string-warning

Conversation

@allejo

@allejo allejo commented Oct 16, 2020

Copy link
Copy Markdown
Collaborator

When splitCodeIntoArray() is given an empty string, we shouldn't be throwing a warning.

See westonruter/syntax-highlighting-code-block#189

@allejo allejo force-pushed the hotfix/split-code-empty-string-warning branch from 108eea0 to c07a64a Compare October 16, 2020 07:41
Base automatically changed from hotfix/split-code-deeply-nested-spans to 9.18 October 16, 2020 07:42
@allejo allejo merged commit 6a16997 into 9.18 Oct 16, 2020
@allejo allejo deleted the hotfix/split-code-empty-string-warning branch October 16, 2020 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant