Module:Lang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(is_latn() accepts guillemets as 'Latn' characters;) |
(restore italic markup test to {{lang}};) |
||
Line 626: | Line 626: | ||
end |
end |
||
if ('unset' ~= args.italic) and ('unset' ~= args.italics) then -- allow italic markup when |italic=unset or |italics=unset |
|||
if 'lang-xx' == template then -- for the time being, this error checking does not apply to {{lang}} |
|||
if (' |
if args.text:match ("%f[\']\'\'[^\']+\'\'%f[^\']") or args.text:match ("\'\'\'\'\'[^\']+\'\'\'\'\'") then -- italic but not bold, or bold italic |
||
⚫ | |||
if args.text:match ("%f[\']\'\'[^\']+\'\'%f[^\']") or args.text:match ("\'\'\'\'\'[^\']+\'\'\'\'\'") then -- italic but not bold, or bold italic |
|||
⚫ | |||
end |
|||
end |
end |
||
end |
end |