Skip to content

not show image[BUG] #700

@dingjianjaja

Description

@dingjianjaja

Describe the bug:

unable to display image,when use "display:block"

this can display:

String content =
      "<p><img alt='Google' style=\"display: inline; margin-left: auto; margin-right: auto;\" src='https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png' /></p>"

this can not display image

String content =
      "<p><img alt='Google' style=\"display: block; margin-left: auto; margin-right: auto;\" src='https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png' /></p>"

HTML to reproduce the issue:

Html widget configuration:

Expected behavior:

Screenshots:

Device details and Flutter/Dart/flutter_html versions:

Stacktrace/Logcat

Additional info:

A picture of a cute animal (not mandatory but encouraged)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions