Line 3,938:
Line 3,938:
options_t.class = cite_class_attribute_make (config.CitationClass, Mode);
options_t.class = cite_class_attribute_make (config.CitationClass, Mode);
−
local Ref = is_valid_parameter_value (A['Ref'], A:ORIGIN('Ref'), cfg.keywords_lists['ref'], nil, true); -- nil when |ref=harv; A['Ref'] else
+
if A['Ref'] ~= 'harv' then
+
local Ref = is_valid_parameter_value (A['Ref'], A:ORIGIN('Ref'), cfg.keywords_lists['ref'], nil, true); -- nil when |ref=harv; A['Ref'] else
+
else
+
local Ref = nil
+
end
if 'none' ~= cfg.keywords_xlate[(Ref and Ref:lower()) or ''] then
if 'none' ~= cfg.keywords_xlate[(Ref and Ref:lower()) or ''] then