We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0654c52 commit e560e10Copy full SHA for e560e10
data/filters/prepare-credit.lua
@@ -71,6 +71,8 @@ local function prepare_credit (meta)
71
degree = capitalize_first_letter(pandoc.utils.stringify(roleDict.degree))
72
if invalidDegree(degree) then
73
print("invalid degree for author " .. author.name .. ": " .. degree)
74
+ -- even though the degree is invalid, add the role anyway
75
+ table.insert(roleList, role)
76
else
77
table.insert(roleList, role .. " (" .. degree .. ")")
78
end
0 commit comments