Module:Citation/CS1: Difference between revisions

not sure what is causing a nil value here, but this should fix the immediate script errors
m>Dragons flight
(sync to sandbox, very large update addressing configuration, error handling, id handling, and others)
m>Dragons flight
(not sure what is causing a nil value here, but this should fix the immediate script errors)
Line 32: Line 32:
function errorcomment( content, hidden )
function errorcomment( content, hidden )
     if hidden then  
     if hidden then  
         return '<span style="display:none;font-size:100%" class="error citation-comment">' .. content .. '</span>';
         return '<span style="display:none;font-size:100%" class="error citation-comment">' .. content or "" .. '</span>';
     else
     else
         return '<span style="font-size:100%" class="error">' .. content .. '</span>';
         return '<span style="font-size:100%" class="error">' .. content or "" .. '</span>';
     end         
     end         
end
end
Anonymous user