diff options
-rw-r--r-- | gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp b/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp index 93c08f0..cd4cdfe 100644 --- a/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/categoryMetaProcessor.cpp @@ -25,9 +25,9 @@ namespace Gentoo { { U::XmlDoc md(path); U::Database::bindOptionalsS(m, 0, { - md.getXPathValue("/catmetadata/longdescription[@lang='en']"), - md.getXPathValue("/catmetadata/longdescription[1]") - }); + md.getXPathValue("/catmetadata/longdescription[@lang='en']/text()"), + md.getXPathValue("/catmetadata/longdescription[1]/text()") + }); m->bindParamS(1, (fn / 1).string()); m->execute(); } |