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] HtmlText Inline style with space char #83

Closed
AlleSchonWeg opened this issue Nov 30, 2020 · 3 comments
Closed

[Bug] HtmlText Inline style with space char #83

AlleSchonWeg opened this issue Nov 30, 2020 · 3 comments

Comments

@AlleSchonWeg
Copy link

Description

Using HtmlText Property with this html string:

"color: <div style="color: #7fb22d">#7fb22d Text plain"

will not work. But if the following string it works:

"color: <div style="color:#7fb22d">#7fb22d Text plain"

The difference is only the space char between : and #. Same behavior on iOS and Android.

Steps to Reproduce

  1. Run sample App

Expected Behavior

Control should ignore space char in style attribute and apply color.

Actual Behavior

Control displays no text.

Basic Information

  • Version with issue: 2.4.8
  • Last known good version:
  • IDE: VS 2019
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Unbenannt

Reproduction Link - a link to a small demo project that reproduces this issue

Forms9HtmlStyle.zip

baskren added a commit that referenced this issue Dec 15, 2020
- Issue #86: Toast error message in productive app when missing picture;
- Issue #85: Android crashes when a system font has been added as an asset or resource;
- Issue #83: HtmlText Inline style with space char;
- Issue #82: LineHeight not working (Android);
@baskren
Copy link
Owner

baskren commented Dec 15, 2020

please try version 2.4.9-beta1 and let me know if it fixes this issue

@AlleSchonWeg
Copy link
Author

Hi,
yes it fixes this issue.

@baskren
Copy link
Owner

baskren commented Dec 16, 2020

Super! Once again, thank you for testing the update.

@baskren baskren closed this as completed Dec 16, 2020
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

2 participants