I'm presently modifying the default pandoc template for Beamer so that the email address of the presentation's author can be added. However, when I try to add a valid e-mail address the for
statement ends up by repetitively embedding the value even though there is only a single value.
Take for example:
---
email: 'toad@gmail.com'
---
With the following templated variable:
$for(email)$ \href{mailto:$email$}{\nolinkurl{$email$}}$sep$ \and $endfor$
I end up receiving:
\href{mailto:\href{mailto:toad@gmail.com}{\nolinkurl{toad@gmail.com}}}{\nolinkurl{\href{mailto:toad@gmail.com}{\nolinkurl{toad@gmail.com}}}}
instead of the desired:
\href{mailto:toad@gmail.com}{\nolinkurl{toad@gmail.com}}
If instead I set email
to be a non-valid address, e.g.
---
email: 'toad'
---
I receive the value toad
embedded. Only when I begin to add the @
sign and an additional letter after does the repetitive embedding become present. I've searched through the docs to no avail as to what might be causing this behavior.