Commit a84f966f authored by jan.koester's avatar jan.koester
Browse files

test

parent 32c3c769
Loading
Loading
Loading
Loading
+3 −0
Changes for editor/src/webedit_api.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1368,6 +1368,8 @@ void webedit::Api::handlePreviewPage(libhttppp::HttpRequest &curreq,

// --- Export XML ---

// --- Export XML ---

void webedit::Api::handleExportXml(libhttppp::HttpRequest &curreq,
                                    const std::string &sessionid) {
    auto &doc = getDocState(sessionid);
@@ -1432,6 +1434,7 @@ void webedit::Api::handleExportXml(libhttppp::HttpRequest &curreq,
        auto refsIt = uuidToRefs.find(uuid);
        if (refsIt != uuidToRefs.end()) {
            for (const auto &ref : refsIt->second) {
                // Replace the full URL reference with the local filename
                replaceAllInPlace(packageXml, ref, imageFileName);
            }
        }