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
UWP #3
Comments
But if you want the full treatment, then the widely used MS code of https://github.com/Microsoft/WPF-Samples/blob/master/Sample%20Applications/HtmlToXamlDemo/HtmlToXamlConverter.cs can be used. The conversion is basically similar:
|
A modification to handle HTML entities:
And process the HTML like this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It really depends on how ambitious you want to be. If a very simple solution is needed for basic texts (p, b, i, br and similar), then using the idea at http://www.visuallylocated.com/post/2015/01/16/Displaying-HTML-content-in-a-TextBlock.aspx is enough. Basically:
The text was updated successfully, but these errors were encountered: