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

Warnings printed during the usage of html2md #46

Closed
vogella opened this issue Feb 7, 2024 · 2 comments
Closed

Warnings printed during the usage of html2md #46

vogella opened this issue Feb 7, 2024 · 2 comments

Comments

@vogella
Copy link

vogella commented Feb 7, 2024

Thank you for your great package.

If I use it, I see the following warnings:

../../.pub-cache/hosted/pub.dev/html2md-1.3.1/lib/src/converter.dart:108:41: Warning: Operand of null-aware operation '!' has type 'Node' which excludes null.
 - 'Node' is from 'package:html/dom.dart' ('../../.pub-cache/hosted/pub.dev/html-0.15.4/lib/dom.dart').
    sibling = util.previousSibling(node.node!);
                                        ^
../../.pub-cache/hosted/pub.dev/html2md-1.3.1/lib/src/converter.dart:111:37: Warning: Operand of null-aware operation '!' has type 'Node' which excludes null.
 - 'Node' is from 'package:html/dom.dart' ('../../.pub-cache/hosted/pub.dev/html-0.15.4/lib/dom.dart').
    sibling = util.nextSibling(node.node!);

Converter still works but maybe you want to silence these warnings.

@tomyeh
Copy link
Contributor

tomyeh commented May 28, 2024

It shall be the same as #41

@jarontai Any plan to release 1.3.2?

@jarontai
Copy link
Owner

Version 1.3.2 published, thank you!

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

No branches or pull requests

3 participants