Quantcast
Viewing all articles
Browse latest Browse all 13965

[[qanda:topic_unsolved]] QWebEngineView no longer render html files with no .html extension

@jsulm said in QWebEngineView no longer render html files with no .html extension: @JonB Sure, it could be documented (and should). I think it simply behaves like any web-broweser: if you enter an URL to a *.txt file the browser will not parse its content, but simply show the text even if it contains valid HTML. Sorry, I seem to have quite mis-read what the OP said/meant! I had understood him to be saying he used to use .htm and now found he needs to use .html. Hence my question about Linux vs Windows. But I now see he says nothing of the kind... @Ghis64 Now that I understand you had always used .txt. Then it's not a documentation/behaviour issue. Browsers should always open .txt files as text, only .htm or .html should be opened as HTML.

Viewing all articles
Browse latest Browse all 13965

Trending Articles