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

feat: Update addHtml to handle style inheritance #1965

Merged

Conversation

Julien1138
Copy link
Contributor

Description

The aim is to get the output closer to the source html.

I noticed the issue in the doc file generated from HTML, in the table, a border was applied to the text inside the cells. Which was not right because no border was applied to the span. I understood that CSS inheritance of style properties was not taken into account by the parser so I decided to implement it.

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes (Nothing to update)

The aim is to get the output closer to the source html
@Julien1138
Copy link
Contributor Author

There seems to be an issue with the .travis.yml file... Some kind of typo maybe but I'm no expert.

Also, this pr relates to #1902.

@troosan troosan added this to the v0.18.0 milestone Feb 7, 2021
@troosan troosan merged commit 6db2927 into PHPOffice:develop Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants