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

[BUG]Space in the first container is not displayed correctly #1251

Closed
lineageWU opened this issue May 8, 2023 · 1 comment · Fixed by #1267
Closed

[BUG]Space in the first container is not displayed correctly #1251

lineageWU opened this issue May 8, 2023 · 1 comment · Fixed by #1267
Labels
bug Something isn't working whitespace issues

Comments

@lineageWU
Copy link

lineageWU commented May 8, 2023

Describe the bug:
[BUG]Space in the first container is not displayed correctly

HTML to reproduce the issue:

<p> test1</p><p> test2</p>

Html widget configuration:

Html(
  data: "<p> test1</p><p> test2</p>",
  style: {
    "p": Style(
      whiteSpace:WhiteSpace.PRE,
    ),
  }
)

Expected behavior:
image

Screenshots:
image
image
image

Device details and Flutter/Dart/flutter_html versions:
model:RedmiK30 Pro
flutter:3.3.10
flutter_html:3.0.0-alpha.5

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

@lineageWU lineageWU added the bug Something isn't working label May 8, 2023
@Sub6Resources Sub6Resources added whitespace issues in-triage Issue's that I've seen but haven't had a chance to thoroughly review and/or categorize and removed in-triage Issue's that I've seen but haven't had a chance to thoroughly review and/or categorize labels May 9, 2023
@Sub6Resources
Copy link
Owner

I was able to reproduce this in 3.0.0-beta.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working whitespace issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants