Commit 80ddab69 authored by jan.koester's avatar jan.koester
Browse files

bugfix

parent f6a95ac3
Loading
Loading
Loading
Loading
+2 −2
Changes for src/llms_text.h: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -93,8 +93,8 @@ namespace blogi::webedit::llms {

        // Markdown table cells can't carry a literal "|" or a line break, so
        // fold them away the same way plain-text flattening already does.
        inline std::string tableCellText(libhtmlpp::Element *cell) {
            std::string text = flattenInline(cell);
        inline std::string tableCellText(libhtmlpp::HtmlElement *cell) {
            std::string text = flattenInline(cell->firstChild());
            std::string sanitized;
            sanitized.reserve(text.size());
            for (char c : text) {