Fix a problem with 'name' metatag

This commit is contained in:
kelson42 2016-09-11 10:26:12 +02:00
parent 934a15a0b4
commit c1b5eb42bf
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ namespace kiwix {
bookNode.append_attribute("title") = itr->title.c_str();
if (!itr->name.empty())
bookNode.append_attribute("name") = itr->title.c_str();
bookNode.append_attribute("name") = itr->name.c_str();
if (!itr->tags.empty())
bookNode.append_attribute("tags") = itr->tags.c_str();