Skip to content

Commit 5c8d0bd

Browse files
committed
数式はtex-math要素に置かれることになった
1 parent 7ab4303 commit 5c8d0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jats2html/lib/convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const img = (document) => {
7171
}
7272

7373
const math = (document) => {
74-
document.querySelectorAll('disp-formula, inline-formula').forEach((math) => {
74+
document.querySelectorAll('tex-math').forEach((math) => {
7575
math.setAttribute('data-math-typeset', 'true');
7676
});
7777
}

0 commit comments

Comments
 (0)