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 fill-opacity= with fill-opacity: in MolDraw2DSVG and tests #3368

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

lummyk
Copy link
Contributor

@lummyk lummyk commented Aug 26, 2020

What does this implement/fix? Explain your changes.

Tiny improvement in SVG output.

The SVG generated by MolDraw2DSVG sometimes contains "fill-opacity=" as opposed to "fill-opacity:" as sub-attributes of a style attribute. This can break downstream parsing, for example, in my use case, svglib/reportlab in python.

Any other comments?

Thanks for the fantastic toolkit!

@greglandrum greglandrum added this to the 2020_03_6 milestone Aug 28, 2020
@greglandrum
Copy link
Member

@lummyk : Thanks for the contribution!

@greglandrum greglandrum merged commit 36ab603 into rdkit:master Aug 31, 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.

None yet

2 participants