Skip to content

Fix exception thrown when reading file with closing </br> tag in drawing.vml#1081

Merged
tonyqus merged 2 commits into
nissl-lab:masterfrom
jake-codes-at-5-am:upstream-fix-closing-br-tag-in-xssfvmldrawing
May 14, 2023
Merged

Fix exception thrown when reading file with closing </br> tag in drawing.vml#1081
tonyqus merged 2 commits into
nissl-lab:masterfrom
jake-codes-at-5-am:upstream-fix-closing-br-tag-in-xssfvmldrawing

Conversation

@artemkoloskov-admin
Copy link
Copy Markdown
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
Copy Markdown
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
@artemkoloskov-admin artemkoloskov-admin 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