summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty')
-rw-r--r--Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty b/Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty
index 56a0bcb960e..539d34bc5d6 100644
--- a/Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty
+++ b/Master/texmf-dist/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty
@@ -46,9 +46,9 @@
%% The names of the source files used are shown above.
%%
\ProvidesPackage{markdownthemewitiko_graphicx_http}[2021/03/22]%
-\RequirePackage{catchfile}
\let\markdown@witiko@graphicx@http@oldRendererImagePrototype
\markdownRendererImagePrototype
+\RequirePackage{catchfile,grffile}
\newcount\markdown@witiko@graphicx@http@counter
\markdown@witiko@graphicx@http@counter=0
\newcommand\markdown@witiko@graphicx@http@filename{%
@@ -78,7 +78,7 @@
else
printf '%s' '#3' > "\filename";
fi}}^^A
- \CatchFileDef{\filename}{\filename}{}^^A
+ \CatchFileDef{\filename}{\filename}{\endlinechar=-1}^^A
\markdown@witiko@graphicx@http@oldRendererImagePrototype^^A
{#1}{#2}{\filename}{#4}^^A
\endgroup