Changes
Added alternative processing for non-extension tags.
local content = t.contents or ""
local params = ""
if ( "span" == name or "div" == name or "blockquote" == name ) then for n,v in pairs(t.params) do params = params .. " " .. n .. "=" .. v end return "<" .. name .. " " .. params .. ">" .. content .. "</" .. name .. ">" else for n,v in pairs(t.params) do params = params .. "|" .. n .. "=" .. v end return frame:preprocess("{{#tag:" .. name .. "|" .. content .. params .. "}}")
end
end
text = text .. "[[Category:Pages with DOI errors]]"
end
return frame:preprocess(text)
end