themes: fix special character bug in connections (#64)

This commit is contained in:
Sina Atalay 2024-05-10 15:55:56 +03:00
parent d349171f22
commit 7de8ef8a4a
3 changed files with 6 additions and 6 deletions

View File

@ -11,9 +11,9 @@
\normalsize
((* for connection in cv.connections *))
\mbox{((*- if connection["url"] -*))
\hrefWithoutArrow{<<connection["url"]>>}{{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
\hrefWithoutArrow{<<connection["url"]>>}{{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]|escape_latex_characters>>}
((*- else -*))
{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>
{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]|escape_latex_characters>>
((*- endif -*))}
\kern <<design.margins.header.horizontal_between_connections>>
((* endfor *))

View File

@ -17,9 +17,9 @@
\normalsize
((* for connection in cv.connections *))
\mbox{((*- if connection["url"] -*))
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]|escape_latex_characters>>}
((*- else -*))
<<connection["placeholder"]>>
<<connection["placeholder"]|escape_latex_characters>>
((*- endif -*))}%
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
((* if not loop.last *))

View File

@ -10,9 +10,9 @@
\normalsize
((* for connection in cv.connections *))
\mbox{((*- if connection["url"] -*))
\hrefWithoutArrow{<<connection["url"]>>}{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
\hrefWithoutArrow{<<connection["url"]>>}{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]|escape_latex_characters>>}
((*- else -*))
{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]|escape_latex_characters>>}
((*- endif -*))}
\kern <<design.margins.header.horizontal_between_connections>>
((* endfor *))