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

test

parent eb923be1
Loading
Loading
Loading
Loading
+2 −2
Changes for editor/widgets/googlereviews/googlereviews.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ namespace blogi {
                
                // Add script to dynamically load reviews
                libhtmlpp::HtmlElement *script = new libhtmlpp::HtmlElement("script");
                std::string js = R"(
                libhtmlpp::ScriptElement js = R"(
                    document.addEventListener('DOMContentLoaded', function() {
                        fetch('/google/reviews/list')
                            .then(response => response.json())
@@ -108,7 +108,7 @@ namespace blogi {
                    });
                )";
                
                script->appendChild(js.c_str());
                script->appendChild(js);
                
                // Add inline style for a responsive flex grid wrapper if needed
                container->setAttribute("style", "display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;");
+1 −0
Changes for plugins/google/google.cpp: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
#include <algorithm>
#include <regex>
#include <chrono>
#include <string>

#include <htmlpp/html.h>
#include <htmlpp/exception.h>