Module:Citation/CS1: Difference between revisions
better
m>Dragons flight (not sure what is causing a nil value here, but this should fix the immediate script errors) |
m>Dragons flight (better) |
||
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 or "" .. '</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 or "" .. '</span>'; | return '<span style="font-size:100%" class="error">' .. (content or "") .. '</span>'; | ||
end | end | ||
end | end |