mirror of https://github.com/kiwix/libkiwix.git
Fix a problem with 'name' metatag
This commit is contained in:
parent
934a15a0b4
commit
c1b5eb42bf
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue