getzola/zola

Broken shortcodes on 0.19

Open

#2.565 aberto em 3 de jul. de 2024

Ver no GitHub
 (19 comments) (1 reaction) (0 assignees)Rust (1.046 forks)batch import
buggood first issuehelp wanted

Métricas do repositório

Stars
 (15.349 stars)
Métricas de merge de PR
 (Mesclagem média 48d 17h) (4 fundiu PRs em 30d)

Description

I had a shortcode called email which contained my email address for reasons, and used it as such

<a name="contact-me" href="mailto:{{ email() }}">{{ email() }}</a>

This used to work but I have since upgraded to 0.19.1 and it simply outputs @@ZOLA_SC_PLACEHOLDER@@

I had to move the entire tag into the shortcode for it to work again, but this smells like a bug and a regression to me.

Guia do colaborador