Commit 99204b10 authored by jan.koester's avatar jan.koester
Browse files

test

parent ca91b42e
Loading
Loading
Loading
Loading
+3 −3
Changes for src/theme.cpp: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -476,9 +476,9 @@ void blogi::Theme::printSite(const int tid,libhtmlpp::HtmlString &output,libhtml
                }
                if(!fullTitle.empty()){
                    libhtmlpp::Element *child = titleEl->firstChild();
                    if(child && child->getType() == libhtmlpp::ElementType::TextEl){
                        static_cast<libhtmlpp::TextElement*>(child)->setText(fullTitle);
                    }
                    if(child)
                        titleEl->remove(child);
                    titleEl->appendChild(libhtmlpp::TextElement(fullTitle));
                }
            }
        }