getzola/zola

Broken shortcodes on 0.19

Open

#2,565 opened on Jul 3, 2024

View on GitHub
 (19 comments) (1 reaction) (0 assignees)Rust (1,046 forks)batch import
buggood first issuehelp wanted

Repository metrics

Stars
 (15,349 stars)
PR merge metrics
 (Avg merge 48d 17h) (4 merged PRs in 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.

Contributor guide