updated to the new Pikotools api (new Space struct)
This commit is contained in:
@@ -899,11 +899,15 @@ using namespace TemplatesFunctions;
|
||||
|
||||
for(size_t i=0 ; i<TemplatesFunctions::locale.Size() ; ++i)
|
||||
{
|
||||
if( TemplatesFunctions::locale.IsKeyByIndex(L"html_lang_attr_value", i, false) &&
|
||||
if( TemplatesFunctions::locale.IsKeyByIndex(L"winix_html_lang_attr", i, false) &&
|
||||
TemplatesFunctions::locale.IsListByIndex(L"language_orphans", i, false) )
|
||||
{
|
||||
html_filter.AssignOrphans(TemplatesFunctions::locale.GetByIndex(L"html_lang_attr_value", i, false),
|
||||
TemplatesFunctions::locale.GetListByIndex(L"language_orphans", i, false));
|
||||
const std::wstring & html_lang_attr = TemplatesFunctions::locale.GetByIndex(L"winix_html_lang_attr", i, false);
|
||||
|
||||
std::vector<std::wstring> orphans;
|
||||
TemplatesFunctions::locale.GetListByIndex(L"language_orphans", i, orphans, false);
|
||||
|
||||
html_filter.AssignOrphans(html_lang_attr, orphans);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user