@@ -33,7 +33,7 @@ consider calling super even if it is a leaf block, we might insert more blocks l
33
33
((*- if cell.cell_type == 'code'-*))
34
34
((*- if resources.global_content_filter.include_code -*))
35
35
((*- block codecell scoped -*))
36
- ((*- if resources.global_content_filter.include_input and not cell.get("transient",{}).get("remove_source", false) -*))
36
+ ((*- if resources.global_content_filter.include_input and not cell.metadata. get("transient",{}).get("remove_source", false) -*))
37
37
((*- block input_group -*))
38
38
((*- if resources.global_content_filter.include_input_prompt -*))
39
39
((*- block in_prompt -*))((*- endblock in_prompt -*))
@@ -81,19 +81,19 @@ consider calling super even if it is a leaf block, we might insert more blocks l
81
81
((*- endblock codecell -*))
82
82
((*- endif -*))
83
83
((*- elif cell.cell_type in ['markdown'] -*))
84
- ((*- if resources.global_content_filter.include_markdown and not cell.get("transient",{}).get("remove_source", false) -*))
84
+ ((*- if resources.global_content_filter.include_markdown and not cell.metadata. get("transient",{}).get("remove_source", false) -*))
85
85
((*- block markdowncell scoped-*)) ((*- endblock markdowncell -*))
86
86
((*- endif -*))
87
87
((*- elif cell.cell_type in ['raw'] -*))
88
- ((*- if resources.global_content_filter.include_raw and not cell.get("transient",{}).get("remove_source", false) -*))
88
+ ((*- if resources.global_content_filter.include_raw and not cell.metadata. get("transient",{}).get("remove_source", false) -*))
89
89
((*- block rawcell scoped -*))
90
90
((*- if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) -*))
91
91
((( cell.source )))
92
92
((*- endif -*))
93
93
((*- endblock rawcell -*))
94
94
((*- endif -*))
95
95
((*- else -*))
96
- ((*- if resources.global_content_filter.include_unknown and not cell.get("transient",{}).get("remove_source", false) -*))
96
+ ((*- if resources.global_content_filter.include_unknown and not cell.metadata. get("transient",{}).get("remove_source", false) -*))
97
97
((*- block unknowncell scoped-*))
98
98
((*- endblock unknowncell -*))
99
99
((*- endif -*))
0 commit comments