diff options
-rw-r--r-- | interchange.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/interchange.cxx b/interchange.cxx index 4f8d9e0..c70fc98 100644 --- a/interchange.cxx +++ b/interchange.cxx @@ -29,8 +29,10 @@ namespace QInterchange { interchange_page(path.toLatin1().constData(), [](interchange_response* response) { interchange->emitPage(QString{response->url} - .remove(0, sampleUrlLength + 1), - QString{response->data}); +#ifndef __EMSCRIPTEN__ + .remove(0, sampleUrlLength + 1) +#endif + , QString{response->data}); interchange_free_response(response); }); } |