[BUG] Conditional replacement by {{Tags}} doesn't generate cards

Steps to reproduce

  1. For “Card 2” of the “Basic (and reversed card)” note type, change the front template to
    {{#Tags}}
        {{Back}}
    {{/Tags}}
    
  2. Make a new note of that type with fields “a” and “b”, and a tag “c”.

Expected behavior

Two cards are added.

Actual behavior

Only one card is added.


Tested in AnkiDroid v2.24.0alpha4 and Anki Desktop v25.09.2.

2 Likes

Can reproduce it.

Logged here: Conditional replacement by `{{Tags}}` doesn’t generate cards · Issue #4522 · ankitects/anki · GitHub

3 Likes