diff options
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-node-text.lua')
-rw-r--r-- | Master/texmf-dist/scripts/citation-style-language/citeproc-node-text.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-text.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-text.lua index 55dd13e295c..e26a4804387 100644 --- a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-text.lua +++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-text.lua @@ -1,3 +1,9 @@ +-- +-- Copyright (c) 2021-2022 Zeping Lee +-- Released under the MIT license. +-- Repository: https://github.com/zepinglee/citeproc-lua +-- + local text = {} local element = require("citeproc-element") @@ -63,6 +69,10 @@ function Text:render (item, context) res = richtext.new(res) end + if res and variable_name == "URL" then + res:add_format("URL", "true") + end + res = self:strip_periods(res, context) res = self:case(res, context) res = self:format(res, context) |