getzola/zola

Broken shortcodes on 0.19

Open

#2565 aperta il 3 lug 2024

Vedi su GitHub
 (19 commenti) (1 reazione) (0 assegnatari)Rust (1046 fork)batch import
buggood first issuehelp wanted

Metriche repository

Star
 (15.349 star)
Metriche merge PR
 (Merge medio 48g 17h) (4 PR mergiate in 30 g)

Descrizione

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.

Guida contributor