Skip to content

Commit

Permalink
Fix alt-text placement
Browse files Browse the repository at this point in the history
  • Loading branch information
estedeahora committed May 27, 2024
1 parent 20bb6fa commit 678ed1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inst/files-pkg/filters/include-float-in-format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ local function fig_jats(label, float_attr)
'<caption>\n' ..
'<p>' .. title .. '</p>' ..
'</caption>\n' ..
'<graphic xlink:href="'.. path .. '"/>\n' ..
'<graphic xlink:href="'.. path .. '">\n' ..
'<alt-text>none</alt-text>\n' ..
'<graphic/>'
note .. source ..
'</fig>'

Expand Down

0 comments on commit 678ed1a

Please sign in to comment.