mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
rollback use of detokenize: see issue #79
This commit is contained in:
parent
d74bc36a5f
commit
9bfd54065c
1 changed files with 4 additions and 4 deletions
|
|
@ -513,14 +513,14 @@
|
||||||
\newcommand*{\link}[2][]{%
|
\newcommand*{\link}[2][]{%
|
||||||
\ifthenelse{\equal{#1}{}}%
|
\ifthenelse{\equal{#1}{}}%
|
||||||
{\href{#2}{#2}}%
|
{\href{#2}{#2}}%
|
||||||
{\href{#2}{\detokenize{#1}}}}
|
{\href{#2}{#1}}}
|
||||||
|
|
||||||
% makes a http hyperlink
|
% makes a http hyperlink
|
||||||
% usage: \httplink[optional text]{link}
|
% usage: \httplink[optional text]{link}
|
||||||
\newcommand*{\httplink}[2][]{%
|
\newcommand*{\httplink}[2][]{%
|
||||||
\ifthenelse{\equal{#1}{}}%
|
\ifthenelse{\equal{#1}{}}%
|
||||||
{\href{http://#2}{#2}}%
|
{\href{http://#2}{#2}}%
|
||||||
{\href{http://#2}{\detokenize{#1}}}}
|
{\href{http://#2}{#1}}}
|
||||||
|
|
||||||
|
|
||||||
% makes an https hyperlink
|
% makes an https hyperlink
|
||||||
|
|
@ -528,14 +528,14 @@
|
||||||
\newcommand*{\httpslink}[2][]{%
|
\newcommand*{\httpslink}[2][]{%
|
||||||
\ifthenelse{\equal{#1}{}}%
|
\ifthenelse{\equal{#1}{}}%
|
||||||
{\href{https://#2}{#2}}%
|
{\href{https://#2}{#2}}%
|
||||||
{\href{https://#2}{\detokenize{#1}}}}
|
{\href{https://#2}{#1}}}
|
||||||
|
|
||||||
% makes an email hyperlink
|
% makes an email hyperlink
|
||||||
% usage: \emaillink[optional text]{link}
|
% usage: \emaillink[optional text]{link}
|
||||||
\newcommand*{\emaillink}[2][]{%
|
\newcommand*{\emaillink}[2][]{%
|
||||||
\ifthenelse{\equal{#1}{}}%
|
\ifthenelse{\equal{#1}{}}%
|
||||||
{\href{mailto:#2}{#2}}%
|
{\href{mailto:#2}{#2}}%
|
||||||
{\href{mailto:#2}{\detokenize{#1}}}}
|
{\href{mailto:#2}{#1}}}
|
||||||
|
|
||||||
% makes a tel hyperlink
|
% makes a tel hyperlink
|
||||||
% usage: \tellink[optional text]{link}
|
% usage: \tellink[optional text]{link}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue