Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.79k stars 860 forks source link

fix: a tag should not style as link if href is not provided #1265

Closed Sub6Resources closed 1 year ago

Sub6Resources commented 1 year ago

Fixes #1092

codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2ffa1dd). Click here to learn what that means. Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head 4cf38e6 differs from pull request most recent head b7facb5. Consider uploading reports for the commit b7facb5 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1265 +/- ## ========================================= Coverage ? 58.07% ========================================= Files ? 36 Lines ? 2607 Branches ? 0 ========================================= Hits ? 1514 Misses ? 1093 Partials ? 0 ``` | [Impacted Files](https://app.codecov.io/gh/Sub6Resources/flutter_html/pull/1265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthew+Whitaker) | Coverage Δ | | |---|---|---| | [lib/src/builtins/interactive\_element\_builtin.dart](https://app.codecov.io/gh/Sub6Resources/flutter_html/pull/1265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthew+Whitaker#diff-bGliL3NyYy9idWlsdGlucy9pbnRlcmFjdGl2ZV9lbGVtZW50X2J1aWx0aW4uZGFydA==) | `94.59% <100.00%> (ø)` | | | [lib/src/builtins/styled\_element\_builtin.dart](https://app.codecov.io/gh/Sub6Resources/flutter_html/pull/1265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthew+Whitaker#diff-bGliL3NyYy9idWlsdGlucy9zdHlsZWRfZWxlbWVudF9idWlsdGluLmRhcnQ=) | `96.81% <100.00%> (ø)` | | | [lib/src/processing/relative\_sizes.dart](https://app.codecov.io/gh/Sub6Resources/flutter_html/pull/1265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthew+Whitaker#diff-bGliL3NyYy9wcm9jZXNzaW5nL3JlbGF0aXZlX3NpemVzLmRhcnQ=) | `70.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.