Module:Lang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 419: Line 419:


if text:match ('^%*') then
if text:match ('^%*') then
table.insert (span, '*'); -- move proto language text prefix outside of italic markup if any
table.insert (span, '*'); -- move proto language text prefix outside of italic markup if any; use numeric entity because plan splat confuses MediaWiki
text = text:gsub ('^%*', ''); -- remove the spat from the text
text = text:gsub ('^%*', ''); -- remove the spat from the text
end
end