summaryrefslogtreecommitdiff
path: root/support/make4ht/formats/make4ht-jats.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support/make4ht/formats/make4ht-jats.lua')
-rw-r--r--support/make4ht/formats/make4ht-jats.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/make4ht/formats/make4ht-jats.lua b/support/make4ht/formats/make4ht-jats.lua
index 41eabf8744..09b9bbbd8e 100644
--- a/support/make4ht/formats/make4ht-jats.lua
+++ b/support/make4ht/formats/make4ht-jats.lua
@@ -32,8 +32,8 @@ end
local function process_moves()
if article_meta then
if elements_to_move_to_title["article-title"]
- and #article_meta:query_selector("title_group") == 0 then -- don't move anything if user added title_group from a config file
- local title_group = article_meta:create_element("title_group")
+ and #article_meta:query_selector("title-group") == 0 then -- don't move anything if user added title-group from a config file
+ local title_group = article_meta:create_element("title-group")
for _, name in ipairs{ "article-title", "subtitle" } do
local v = elements_to_move_to_title[name]
if v then
@@ -41,7 +41,7 @@ local function process_moves()
v:remove_node()
end
end
- article_meta:add_child_node(title_group)
+ article_meta:add_child_node(title_group, 1)
end
if #elements_to_move_to_contribs > 0 then
local contrib_group = article_meta:create_element("contrib-group")