Module:Citation/CS1: Difference between revisions
don't evaluate positional parameters for invisible chars;
(sync from sandbox;) |
(don't evaluate positional parameters for invisible chars;) |
||
Line 3,929: | Line 3,929: | ||
for k, v in pairs( args ) do | for k, v in pairs( args ) do | ||
has_invisible_chars (k, v); | if 'string' == type (k) then -- don't evaluate positional parameters | ||
has_invisible_chars (k, v); -- look for invisible characters | |||
end | |||
has_extraneous_punc (k, v); -- look for extraneous terminal punctuation in parameter values | has_extraneous_punc (k, v); -- look for extraneous terminal punctuation in parameter values | ||
missing_pipe_check (k, v); -- do we think that there is a parameter that is missing a pipe? | missing_pipe_check (k, v); -- do we think that there is a parameter that is missing a pipe? |