Skip to content

Commit 1edb001

Browse files
committed
Fix order
1 parent c8998d7 commit 1edb001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandoc_latex_admonition/_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,9 @@ def new_environment(doc: Doc, environment: dict[str, Any]) -> str:
645645
return f"""
646646
\\newenvironment{{{environment['env']}}}
647647
{{
648+
\\savenotes\\tcolorbox[{','.join(options)}]
648649
\\setcounter{{mpfootnote}}{{\\value{{footnote}}}}
649650
\\renewcommand\\thempfootnote{{\\arabic{{mpfootnote}}}}
650-
\\savenotes\\tcolorbox[{','.join(options)}]
651651
}}
652652
{{
653653
\\endtcolorbox\\spewnotes

0 commit comments

Comments
 (0)