# Nested cloze feature not working with "type:cloze" notetype

**URL:** <https://forums.ankiweb.net/t/nested-cloze-feature-not-working-with-type-cloze-notetype/26180>\
**Category:** Help\
**Created:** [January 10, 2023, 8:27am UTC](https://forums.ankiweb.net/t/nested-cloze-feature-not-working-with-type-cloze-notetype/26180 "2023-01-10T08:27:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hildeguard](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@Hildeguard](https://forums.ankiweb.net/u/Hildeguard)\
**Post date:** [January 10, 2023, 8:27am UTC](https://forums.ankiweb.net/t/nested-cloze-feature-not-working-with-type-cloze-notetype/26180/1 "2023-01-10T08:27:03Z")

</div>

Hello there 🙂

Anki 2.1.56 added the possibility of using nested clozes ([Release 2.1.56 · ankitects/anki · GitHub](https://github.com/ankitects/anki/releases/tag/2.1.56)). These seem to work fine with the standard cloze deletion notetype.

They don’t however seem to work correctly if you use `{{type:cloze:text}}` within the card template to prompt you for [typing in the enclozed text](https://docs.ankiweb.net/templates/fields.html#checking-your-answer).

Using the example from the documentation

`{{c1::Canberra was {{c2::founded}}}} in 1913)`

Anki shows

`Canberra was {{c2`

as the answer to be typed, instead of

`Canberra was founded`

 ![Anki_Screenshot_1](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/4/450fc1012d40aa61ddd7441b67edf8be39cd10de.png)

  

 ![Anki_Screenshot_2](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/20fcf2e04142c2b40c9658a4a78746e225be8d10.png)

  

 ![Anki_Screenshot_3](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/f/f01e909c622d865b7301a6527fc99b1e25a0056c.png)

  

**Front Template**

```auto
{{cloze:Text}}<br><br>

{{type:cloze:Text}}

```

**Back Template**

```auto
{{cloze:Text}}<br><br>  

{{type:cloze:Text}}<br><br>

{{#Extra}}{{Extra}}<br><br>{{/Extra}}

{{#Tags}}<b>Tags:</b> {{Tags}}{{/Tags}}

```

**Styling**

```auto
.card { 
   font-family: arial; 
   font-size: 20px; 
   text-align: center; 
   color: black; 
   background-color: white;
 }  

.cloze { 
   font-weight: bold; 
   color: blue;
 }

```

**Anki Version**  
Version ⁨2.1.56 (07fd88dd)⁩  
Python 3.9.15 Qt 6.4.0 PyQt 6.4.0

**Operating System**  
Linux Mint 20.3

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [January 11, 2023, 10:20am UTC](https://forums.ankiweb.net/t/nested-cloze-feature-not-working-with-type-cloze-notetype/26180/2 "2023-01-11T10:20:18Z")

</div>

I’ve logged this on [Nested clozes not supported in type answer · Issue #2311 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/2311)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [February 10, 2023, 10:21am UTC](https://forums.ankiweb.net/t/nested-cloze-feature-not-working-with-type-cloze-notetype/26180/3 "2023-02-10T10:21:08Z")

</div>

Closed on February 10, 2023, 10:21am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
