Module:pollasena-roots: Difference between revisions
No edit summary |
No edit summary |
||
| Line 121: | Line 121: | ||
separator = item.term | separator = item.term | ||
elseif item.term then | elseif item.term then | ||
if root_index > 1 and | if root_index > 1 and last_term ~= "+" then -- only subsequent asterisks afer space | ||
item.alt = gsub(item.alt or item.term, "^%*", "") | |||
end | end | ||
table.insert(terms, item) | table.insert(terms, item) | ||
if code == "wasc" then -- Wascotl root and suffix handling | if code == "wasc" then -- Wascotl root and suffix handling | ||
| Line 144: | Line 131: | ||
if wasc_suffixes[suffix] then | if wasc_suffixes[suffix] then | ||
cat_term = gsub(cat_term, suffix, "-") | cat_term = gsub(cat_term, suffix, "-") | ||
end | end | ||
end | end | ||