Skip to content

Commit 26d0324

Browse files
committed
Modify figure caption in xml-jats
Use <title> instaed <p> inside <caption>
1 parent d7bf321 commit 26d0324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/files-pkg/filters/include-float-in-format.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ local function fig_jats(label, float_attr)
169169
local raw_elem = '<fig id="' .. label .. '">\n' ..
170170
'<label>' .. dic_float.FIG .. ' ' .. fignum .. '.</label>\n' ..
171171
'<caption>\n' ..
172-
'<p>' .. title .. '</p>' ..
172+
'<title>' .. title .. '</title>' ..
173173
'</caption>\n' ..
174174
'<graphic xlink:href="'.. path .. '">\n' ..
175175
'<alt-text>none</alt-text>\n' ..

0 commit comments

Comments
 (0)