getzola/zola

Broken shortcodes on 0.19

Open

#2,565 建立於 2024年7月3日

在 GitHub 查看
 (18 留言) (1 反應) (0 負責人)Rust (15,349 star) (1,046 fork)batch import
buggood first issuehelp wanted

描述

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.

貢獻者指南