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

Redefine rules for sheet name escaping (#1287) #1292

Merged
merged 3 commits into from
Mar 28, 2020

Conversation

Pankraty
Copy link
Member

@Pankraty Pankraty commented Oct 4, 2019

Fixes #1287
Depends on #1194 (will do a rebase after it is merged)

Here I joined together two classes both called StringExtensions, made all their methods internal (classes were internal anyway), rewrote the rules for sheet name escaping and provided a bunch of tests.

ClosedXML/Extensions.cs Outdated Show resolved Hide resolved
@igitur
Copy link
Member

igitur commented Feb 11, 2020

#1194 is merged. Please rebase.

[TestCase("한국어", ExpectedResult = "한국어")]
[TestCase("Slovenščina", ExpectedResult = "Slovenščina")]
[TestCase("", ExpectedResult = "")]
[TestCase(null, ExpectedResult = null)]
Copy link
Member

Choose a reason for hiding this comment

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

Very thorough!

@igitur igitur added this to the v0.95 milestone Mar 28, 2020
@igitur igitur added the bug label Mar 28, 2020
@igitur igitur merged commit a384dcf into ClosedXML:develop Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SetRowsToRepeatAtTop does not work on worksheets which names require escaping
2 participants