Module:Sandbox/LVL: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 131: | Line 131: | ||
end | end | ||
-- Append flattened item data (stats, descriptions | -- Append flattened item data (stats only, no descriptions/shopfilters) | ||
search_data = search_data .. " " .. extract_search_terms(item_data, lang_code) | search_data = search_data .. " " .. extract_search_terms(item_data, lang_code) | ||
-- | -- Remove double and single quotes so they don't break the HTML attribute | ||
search_data = search_data:gsub('"', ' | search_data = search_data:gsub('["\']', '') | ||
-- Wrap item and its bullet separator in a searchable span | -- Wrap item and its bullet separator in a searchable span | ||