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

HTML rendering limitations? #50

Closed
felixp7 opened this issue Aug 23, 2020 · 3 comments
Closed

HTML rendering limitations? #50

felixp7 opened this issue Aug 23, 2020 · 3 comments

Comments

@felixp7
Copy link

felixp7 commented Aug 23, 2020

I just gave Kristall 0.3 a whirl after learning about it yesterday (running the Linux AppImage if that helps), and couldn't help but notice that it renders certain web pages just fine, but shows only a blank screen for others. Contrast my recent essay versus my homepage.

It would be good to know what trips Kristall in the latter case. Thought it might be from my use of HTML5 structural elements, but the footer is rendered just fine in the former example. Thank you.

@ikskuh
Copy link
Owner

ikskuh commented Aug 23, 2020

That's a good question, i have no idea. You should ask in a Qt-related forum, i'm just using QTextDocument::setHtml to generate a text document. Don't expect Kristall to ever render full-featured HTML.

Maybe the answer can be found here: https://doc.qt.io/qt-5/richtext-html-subset.html

@felixp7 felixp7 closed this as completed Aug 23, 2020
@ikskuh
Copy link
Owner

ikskuh commented Aug 23, 2020

Has this solved/explained your problem?

@felixp7
Copy link
Author

felixp7 commented Aug 24, 2020

It will have to do, thanks!

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