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 exception thrown when reading file with closing </br> tag in drawing.vml #1081

Conversation

artem-iron
Copy link
Contributor

XSSFVMLDrawing.Read method would remove the opening br tag, and normally it will be enough, because normally a br tag doesn't need closing tag. But sometimes it has one, so it needs to be removed also.

The pull request also adds a test for the issue.

@tonyqus
Copy link
Member

tonyqus commented May 14, 2023

Looks this change is safe. LGTM

@tonyqus tonyqus merged commit 05aa82b into nissl-lab:master May 14, 2023
@tonyqus tonyqus added this to the NPOI 2.6.1 milestone May 14, 2023
@artem-iron artem-iron deleted the upstream-fix-closing-br-tag-in-xssfvmldrawing branch May 15, 2023 08:11
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.

2 participants