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

test

parent bd93b4b4
Loading
Loading
Loading
Loading
+1 −0
Changes for debian/blogi-editor.dirs: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
usr/share/blogi-editor/node/widgets
+0 −1
Changes for debian/blogi-editor.install: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2,4 +2,3 @@ usr/bin/blogi-editor
usr/lib/blogi/plugins/webedit/
usr/lib/blogi/libblogidev.a
usr/share/blogi-editor/html/
usr/share/blogi-editor/node/
+5 −1
Changes for editor/src/webedit_api.cpp: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -3914,7 +3914,11 @@ webedit::Api::PublishCoreResult webedit::Api::publishToConnectionCore(
        paramsObj = json_object_new_object();
        ownsParams = true;
    }
    if (!llmsTxt.empty())
    // Always send llms_txt, even when empty: previously an empty result was
    // omitted entirely, which made "the deployed blogi-editor doesn't have this
    // field yet" indistinguishable from "generateLlmsTxt legitimately found no
    // text in this document" — and left a stale llms_txt from a previous publish
    // lingering in the DB when a document's text was removed.
    json_object_object_add(paramsObj, "llms_txt", json_object_new_string(llmsTxt.c_str()));

    json_object *publishCmd = json_object_new_object();