getzola/zola

Broken shortcodes on 0.19

已關閉

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

 (19 則留言) (1 個反應) (0 位負責人)Rust (1,046 個分叉)batch import
buggood first issuehelp wanted

倉庫指標

星標
 (15,349 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南