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

Replace spaces from style string #1348

Merged
merged 1 commit into from
Apr 5, 2020
Merged

Conversation

malles
Copy link
Contributor

@malles malles commented Feb 4, 2020

Fixes #1347. Indentation in the xml leaves spaces in style string even after replacing newlines. Replacing the spaces ensures no spaces in keys of the resulting style-array

This is:

- [x] a bugfix
- [ ] a new feature

Checklist:

Why this change is needed?

See #1347

Copy link
Member

@PowerKiKi PowerKiKi left a comment

Choose a reason for hiding this comment

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

This lack unit test to be merged

@malles
Copy link
Contributor Author

malles commented Mar 3, 2020

Added test and solved merge conflict in changelog.

@malles malles force-pushed the master branch 2 times, most recently from 86ffe91 to 496705b Compare March 4, 2020 10:46
@malles malles requested a review from PowerKiKi March 4, 2020 11:03
Indentation in the xml leaves spaces in style string even after
replacing newlines. Replacing the spaces ensures no spaces in keys
of the resulting style-array

Fixes PHPOffice#1347
@PowerKiKi PowerKiKi merged commit 87f71e1 into PHPOffice:master Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Undefined index: height exception on reading vmlDrawings
3 participants