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.

贡献者指南