[rkward] [Bug 405386] RKWard Version 0.7.0z+0.7.1+devel1 can't preview Markdown
Thomas Friedrichsmeier
bugzilla_noreply at kde.org
Wed Mar 20 19:45:25 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=405386
--- Comment #21 from Thomas Friedrichsmeier <thomas.friedrichsmeier at ruhr-uni-bochum.de> ---
Ok, I can finally see the bug. First problem is in fact that after the update
QMimeDatabase will no longer recognize the file as text/html, but rather
application/xhtml. Not sure, whether that is a bug or not, i.e. whether the
problem will soon go away, or proliferate to all other systems...
The rendered file has some contradicting information on what type it is. But in
fact it is *not* valid XHTML. Which is where the next problem lingers: I have
now changed the code so that QWebPage will *try* to render the file, *but*
QWebPage is very strict about XHTML validity, and so it will report a validity
error, instead of displaying anything.
I'll probably have to find a way to force html-mode for XHTML, ugly as that
will be. Hang on.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the rkward-devel
mailing list